Releases: geospace-code/matlab-stdlib
add numerous functions
add is_symlink, create_symlink, read_symlink.
ncsave: require dimensions for non-scalar
add sys.cpu_count, touch, get_modtime, set_modtime, relative_to(), proximate_to, is_subdir, filesystem_type()
is_absolute_path => is_absolute
require scalar non-empty inputs, add functions
add exists()
, is_readable()
, is_writable()
, sys.cpu_load()
, sys.ram_free()
, sys.ram_total()
all using Java internal to Matlab.
require scalar non-empty inputs to simplify internal code.
add several functions, distinguish canonical from resolve, bugfixes
add function fileio.{parent,stem,filename,suffix,join}
distinguish function fileio.canonical()
which returns relative path if not exist from fileio.resolve()
that always returns absolute path--if not exist, absolute based on cwd.
expanduser
: ignore inputs like ~abc
subprocess_run
: correct high level interface nargout and improve test
absolute("") = ""
Internals use posix filesep "/" throughout
Test: shortname: test with Matlab exe so it's always present (vs. notepad)
Java-based functions, add normalize
- add normalize() function
- use mostly Java-based internal functions for fileio
remove redundant code
v4.10.1 remove redundant code
improve tests and correctness. Add several stdlib.* aliases
v4.10.0 ci: add R2023a
add sys.wsl* functions
for Windows Subsystem for LInux add functions under stdlib.sys
h5save: add shape checks
to avoid confusing errors, check the shape of "sizeA" vs array size, if given for h5save
work with Matlab >= R2019b
Matlab R2019b is the minimum version because the Matlab syntax dramatically changed for R2019b and we use it everywhere.
works with Matlab >= R2020a, remove copyfile(), add ncvariables(...,group)
*works with Matlab >= R2020a -- CI tests each release from R2020a to R2022b
- remove copyfile()
- enhance internal argument checks,
- add
ncvariables(...,group)
option