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 comentario

Ninad
Ninad el 15 de Sept. de 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:

Iniciar sesión para comentar.

Respuestas (0)

Productos

Versión

R2020a

Etiquetas

Preguntada:

el 21 de Jul. de 2022

Comentada:

el 15 de Sept. de 2023

Community Treasure Hunt

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

Start Hunting!

Translated by