read_hdf5

Returns the contents of an HDF5 file as a structure.

You are now following this Submission

The function reads the contents of an HDF5 file and returns it's contents as a structure. Each group is returned as an element of a structure with the variables of the group as elements of the group structure. In this sense the HDF group tree is searched recursively.

Cite As

Samuel Lazerson (2026). read_hdf5 (https://www.mathworks.com/matlabcentral/fileexchange/36535-read_hdf5), MATLAB Central File Exchange. Retrieved .

Acknowledgements

Inspired by: read_netcdf

Inspired: read_fieldlines

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.21.0.0

Fixed name.

1.2.0.0

Addressed issue where groups may not be read correctly.

1.0.0.0