Access multiple variables with single hdfreader call

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 件のコメント

Ninad
Ninad 2023 年 9 月 15 日
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:

サインインしてコメントする。

回答 (0 件)

製品

リリース

R2020a

タグ

質問済み:

2022 年 7 月 21 日

コメント済み:

2023 年 9 月 15 日

Community Treasure Hunt

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

Start Hunting!

Translated by