Skip to content

Commit c6ee369

Browse files
committed
doc
1 parent bade30f commit c6ee369

File tree

3 files changed

+8
-9
lines changed

3 files changed

+8
-9
lines changed

+stdlib/+dotnet/hostname.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
%% DOTNET.GET_HOSTNAME get the computer network hostname
1+
%% DOTNET.HOSTNAME get the computer network hostname
22

33
function n = hostname()
44

AGENTS.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,14 @@ To detect if a specific language interface is available, we provide functions st
1313
There is a namespace stdlib.sys defined under +stdlib/+sys/ that provided system() calls using the system shell as a last-restort fallback if no external language interface is available on the end user computer running Matlab.
1414
The namespace stdlib.native and stdlib.legacy use plain Matlab code, and allow switching between "modern" and "legacy" implementations of functions as needed.
1515

16-
The self-test functions under "test/" directory can be used by Matlab >= R2019a as invoked by "test_main.m" at the top level of the project directory.
16+
The self-test functions under "test/" directory can be used by Matlab >= R2017b as invoked by "test_main.m" at the top level of the project directory.
1717
Matlab >= R2022b can alternatively use "buildtool test" to run the self-tests.
1818

1919
Key limitations to minimum Matlab version include:
2020

2121
* R2017b: builtin isfolder(), isfile() available
2222
* R2017b: fileparts() supports string type. fileparts() is used in many places in the code as it's 5-10x faster than regexp() for filename parsing.
23-
* R2018a: fileattrib() supports string type
23+
* R2018a: fileattrib(), fullfile() supports string type
2424
* R2018a: mfilename('fullpath') tells the full path to the matlab .m file currently running (empty for older Matlab)
2525
* R2019b: function argument validation block "arguments"
2626

@@ -33,7 +33,7 @@ In particular, using GNU Octave with functions having a backend as shown in [API
3333

3434
These rules apply under the namespace "stdlib" (directory +stdlib/) and all its sub-namespaces (subdirectories +stdlib/+*).
3535

36-
- The code syntax must work for Matlab >= R2019b
36+
- The code syntax must work for Matlab >= R2019b (preferably Matlab >= R2017b)
3737
- The code must not require any Matlab toolboxes, only base Matlab functionality
3838
- Prohibited to use Matlab factory function "isMATLABReleaseOlderThan()" as it is slow and not available for Matlab < R2020b. Instead we use stdlib.matlabOlderThan() which is like 200x faster than isMATLABReleaseOlderThan() and works for Matlab >= R2016b
3939
- When an exception is encountered, we generally desire that the code return an "empty" value of the appropriate type. In certain cases we may throw or rethrow an error.

Readme.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,8 @@
77
Matlab users coming from other languages will benefit from the functionality contained within this user-developed, unofficial "stdlib" standard library of functions.
88
These system, filesystem, and HDF5 / HDF4 / NetCDF functions are used by numerous independent projects.
99

10-
Matlab R2019b is the absolute minimum version required due to use of
11-
[function argument validation](https://www.mathworks.com/help/matlab/ref/arguments.html).
12-
Full functionality is available with R2021a and newer.
10+
Matlab R2017b is the absolute minimum version required.
11+
Full functionality is available with R2019b and newer.
1312

1413
## Self-tests
1514

@@ -21,7 +20,7 @@ Matlab R2022b and newer:
2120
buildtool test
2221
```
2322

24-
Matlab R2021a and newer (R2022b and newer can use `buildtool test`):
23+
Matlab R2017b and newer:
2524

2625
```matlab
2726
test_main
@@ -42,7 +41,7 @@ Normally the user does not specify the backend as we prioritize faster backends.
4241
* Windows: all supported Matlab releases
4342
* Linux / macOS: R2024b and newer
4443
* [Java](./Readme_java.md): all supported Matlab releases
45-
* [Perl](https://www.mathworks.com/help/matlab/ref/perl.html): all supported Matlab releases. This uses a system() call to Perl, which is bundled with Matlab on Windows and generally available on Linux and macOS
44+
* [Perl](https://www.mathworks.com/help/matlab/ref/perl.html): Matlab R2018a and newer. This uses a system() call to Perl, which is bundled with Matlab on Windows and generally available on Linux and macOS
4645
* [Python](https://www.mathworks.com/help/matlab/call-python-libraries.html): Matlab R2022b and newer
4746
* System shell calls: all supported Matlab releases. As a backup when the platform doesn't have the primary (faster) methods available, the system shell can be called for some functions.
4847

0 commit comments

Comments
 (0)