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

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