Skip to content

Commit ee712a0

Browse files
committed
buildfile Matlab >= R2023a
1 parent 3ce76ff commit ee712a0

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

Readme.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Matlab R2019b is the minimum required due to use of
1515
syntax.
1616
URLs (e.g. https://, s3:// and similar) are treated as not existing.
1717

18-
Self-tests can be run from that matlab-stdlib/ directory with Matlab R2022b or newer:
18+
Self-tests can be run from the matlab-stdlib/ directory with Matlab R2023a or newer:
1919

2020
```matlab
2121
buildtool test
@@ -26,7 +26,7 @@ Functions requiring or optionally benefiting from MEX are indicated in the
2626

2727
Build the optional high-performance
2828
[MEX](https://www.mathworks.com/help/matlab/cpp-mex-file-applications.html)
29-
functions from the Matlab prompt in Matlab R2022b or newer:
29+
functions from the Matlab prompt in Matlab R2023a or newer:
3030

3131
```matlab
3232
buildtool mex

buildfile.m

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
function plan = buildfile
2+
assert(~isMATLABReleaseOlderThan("R2023a"), "MATLAB R2023a or newer is required for this buildfile")
3+
24
plan = buildplan();
35

46
plan.DefaultTasks = "test";

0 commit comments

Comments
 (0)