Releases: geospace-code/matlab-stdlib
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
which() enhancements for Windows
stdlib.fileio.which()
performs better generally on Windows, where file extension is now optional (.exe is appended and checked also)
h5variables("file.h5", "/not_exist_group")
returns empty instead of erroring
some internal cleanup and rearranging
add h5create_group(), HDF5: allow URL passthrough
HDF5 in general (including Matlab) can use remote storage such as S3. We removed all "isfile", "isfolder" to allow passing through URL or filenames to stdlib.hdf5nc functions.
added h5create_group() function
Matlab >= R2021a name=value syntax
v4.5.0 use name=value syntax for clarity
handle matlab float32=>single, float64=>double
increase test coverage and fix issue that matlab prefers float32=>single, float64=>double and handles either type specification.
bugfix scalar write. write all integer types in Matlab
- h5save, ncsave can now write all matlab integer types (in addition to double, single, char, string)
'int8', 'int16', 'int32', 'int64', 'uint8', 'uint16', 'uint32', 'uint64'
- fixed bug in writing scalar variables--would error under certain conditions
HDF5,NetCDF4: add char/string read/write
- NetCDF4: for Matlab >= R2021b, read/write of char/string scalar and array is now possible
- HDF5: read/write of char/string scalar and now vector is possible