Skip to content

Releases: geospace-code/matlab-stdlib

work with Matlab >= R2019b

28 Sep 23:20
bae6940

Choose a tag to compare

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)

25 Sep 20:46
5e98bdf

Choose a tag to compare

*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

29 Jul 23:00
0eda9d4

Choose a tag to compare

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

07 Jul 13:31
1224b72

Choose a tag to compare

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

14 Jun 18:34
d2e1082

Choose a tag to compare

v4.5.0

use name=value syntax for clarity

handle matlab float32=>single, float64=>double

19 May 20:57
c3d26d5

Choose a tag to compare

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

19 May 07:02
e67dcc0

Choose a tag to compare

  • 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

25 Apr 04:41
e07094f

Choose a tag to compare

  • 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

add [h5,nc]ndims. [h5,nc]size scalar is empty. h5save write scalar size accurately

29 Mar 17:30
63b1e8d

Choose a tag to compare

  • add functions "h5ndims" and "ncndims" to get rank of disk variables
  • "h5size" and "ncsize" return empty [] if disk variable is scalar. This is like Python etc.
  • "h5save" better respects optional "size" argument to optionally write scalars instead as 1 or more dimensions e.g. [1,1,1]. This is necessary to interface with other languages.

[sha256,md5]sum return string, add mac/windows CI

31 Jan 08:15
9d91f97

Choose a tag to compare

CI for Matlab now has MacOS, Linux and Windows

improve [sha256,md5]sum by outputting string instead of char, as typical use case is == check.