File Exchange

image thumbnail

HDF5TOOLS

version 1.12.0.1 (169 KB) by John
Versatile HDF5 Utilities

7 Downloads

Updated 01 Sep 2016

View Version History

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 (2021). HDF5TOOLS (https://www.mathworks.com/matlabcentral/fileexchange/17172-hdf5tools), MATLAB Central File Exchange. Retrieved .

Comments and Ratings (9)

Majid Mohamod

Please, could you explain the steps of installation, how can I start with this script? I want to extract data from thousand of HDF5 files. HELLLLLLLLLLLLLLLLLP please, I am almost crazy because this file format "HDF5"

Max Rose

Thanks for this useful functions. In the current version writing complex numbers doesn't work. Any idea why? Do you get it fixed? I tested it with your function th5varput().

maxroucool

Curtis Gehman

Basically what I was looking for. The help should indicate what happens when the read or write operations fail. A function to simply get the size and type of a data set would be handy.

Piers

Very handy tools.
It took a while to figure out that 'chunk_size' is needed to set 'max_size' for h5datacreate.

I needed to set the fill value, so I added that option.
Also there is a small bug in 'max_size', inf isn't handled correctly.

see http://www.toverlamp.org/static/h5datacreate.m and incorporate changes if you want.

Saad

Joao

Anthony Kendall

Works exactly as it should. This mimics the higher-level MATLAB HDF5 functions in terms of simplicity, but gives access to lower-level functionality. Great!

Mostafa Afgani

Excellent set of tools. I was looking for a straight-forward way to extract partial datasets from a HDF5 file and this was perfect for that.

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

Inspired: HDF5 Diskmap Class

Community Treasure Hunt

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

Start Hunting!