Skip to content

HDF5, NetCDF4, fileio, system functions that act as an unofficial "stdlib" for Matlab.

License

Notifications You must be signed in to change notification settings

geospace-code/matlab-stdlib

Repository files navigation

Standard library for Matlab

DOI View matlab-hdf5 on File Exchange MATLAB on GitHub-Hosted Runner

Matlab users coming from other languages often notice the missing functionality contained within this user-developed, unofficial "stdlib" for Matlab. These system, filesystem, and HDF5 / HDF4 / NetCDF functions are useful across several of our own and others projects.

The absolute minimum Matlab release is R2021a.

Self-tests can be run from that matlab-stdlib/ directory:

buildtool

API Documentation

Developer notes

The "matlab-stdlib" package uses Java functions throughout, with the higher-level java.nio.Files and the classic java.io.File classes.

That is, if Matlab was started with -nojvm, many of the stdlib filesystem function do not work.

Acknowledgements

Stdlib for Matlab was partly funded by NASA NNH19ZDA001N-HDEE grant 80NSSC20K0176.