Version (169 KB) by John
Versatile HDF5 Utilities
Updated 1 Sep 2016

View License

Command-line utilities for use with HDF5 files. Included are
H5DUMP: dumps metadata to the screen
H5VARGET: reads hdf5 datasets
H5VARPUT: writes data to hdf5 datasets
H5ATTGET: reads hdf5 attributes
H5ATTPUT: writes hdf5 attributes
H5FILECREATE: create hdf5 file
H5DATACREATE: create hdf5 dataset
H5PROPINFO: retrieves property image information

Cite As

John (2024). HDF5TOOLS (https://www.mathworks.com/matlabcentral/fileexchange/17172-hdf5tools), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2007b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Inspired: HDF5 Diskmap Class

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes

Updated license

Added two new functions suggested by customer. Optimized H5VARGET with better choice of H5D.read parameters.

Allowing for 2D char attributes. Fixed typo for H5DUMP and clearly stated release requirements. Removed 3-argument signature for H5ATTPUT.

Updated H5DUMP for R2009b

Bounds selection fix in H5VARGET, test suite fix. Thanks to Jon Olav for finding this.

Credits The HDF Group for some of the test files.

fixed h5varput bug, 'H5S_ALL' is not appropriate for partial writes

Fixed bug in fill value handling for H5VARGET and H5VARPUT. Added support for bit field datatypes in H5DUMP.

Updated H5PROPINFO for new properties.
Removed garbage version of H5DUMP.
Fixed several testing issues.

Adjusted expected values for H5PROPINFO for the correct HDF5 library version.
Minor fixes to H5DUMP.

Rewrite of H5DUMP. Added H5IMREAD, H5IMFINFO functions.

Added int16 enum support, NaN support for fillvalues in double, single precision datasets. Fixed invalid fieldname issue in H5PROPINFO.

Added new H5PROPINFO m-file. Some error checking changes. Fixed int64 bug on H5ATTPUT on 32-bit platforms.

Fix to compensate for enum byte swapping issue.
Added preference for full enumeration support.