You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
users coming from other languages will benefit from the functionality contained within this user-developed, unofficial "stdlib" standard library of functions.
8
+
Matlab users coming from other languages like Python benefit from the functionality contained within this user-developed, unofficial "stdlib" standard library of functions.
11
9
These system, filesystem, and HDF5 / HDF4 / NetCDF functions are used across numerous projects.
12
10
11
+
Several dozen functions are [available](https://geospace-code.github.io/matlab-stdlib/), most not readily abailable elsewhere. Over 600 unit tests covering each of the backend external language interfaces are thoroughly exercised across Matlab from R2021 to the latest Matlab version across operating systems.
12
+
13
13
Matlab R2020b is the minimum required due to use of
[mustBeTextScalar](https://www.mathworks.com/help/matlab/ref/mustbetextscalar.html), and
16
+
pattern
17
17
syntax.
18
-
URLs (e.g. https://, s3:// and similar) are treated as not existing.
18
+
Remote URLs (e.g. https://, s3:// and similar) are treated as not existing.
19
19
20
20
## Self-tests
21
21
22
-
The self-tests require at least Matlab R2020b and can be run from the matlab-stdlib/ directory.
22
+
The self-tests can be run from the matlab-stdlib/ directory.
23
23
24
24
Matlab R2024b and newer:
25
25
@@ -40,13 +40,15 @@ Matlab older than R2022b:
40
40
run('test/test_main.m')
41
41
```
42
42
43
-
## Java-based functions
43
+
## Backend
44
+
45
+
All non-native Matlab code functions use several fallbacks if native Matlab code isn't capable of thr task.
46
+
For example, [stdlib.filesystem_type](./+stdlib/filesystem_type.m) quickly determines if Java, .NET, or Python are available--if not, a system() call is the fallback to detemrine thr filesystem type e.g. NTFS or ext4, etc.
44
47
45
48
Most Matlab-stdlib filesystem functions work without the
0 commit comments