Access multiple variables with single hdfreader call
Show older comments
With previous versions of Matlab (e.g. 2007b) I was able to provide a list of desired variables as input to the hdfreader function to extract data for multiple variables with a singele function call. That doesn't seem to work with the latest versions of Matlab (e.g 2020a), but only allows me to extract a single variable at a time (very slow). Is that feature gone, or am I just using it incorrectly (ie the syntax changed)?
1 Comment
Ninad
on 15 Sep 2023
Hi Chris,
hdfread function is used to read data from HDF4 or HDF-EOS2 file. Whereas, h5read function is used to read data from the HDF5 dataset.
Perhaps, I would like to know from which file are you trying to access the data. It would much helpful, if you could share the code and data file, so I could reproduce the issue at my end.
You may go through the official documentation as well:
Answers (0)
Categories
Find more on HDF4 Files in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!