| Contents | Index |
attval = h5readatt(filename,location,attr)
attval = h5readatt(filename,location,attr) retrieves the value for the named attribute attr from the given location in the HDF5 file filename.
attval |
Value of the attribute. |
Read a group attribute.
attval = h5readatt('example.h5','/','attr2'); Read a data set attribute.
attval = h5readatt('example.h5','/g4/lon','units');

Explore how to use MATLAB to make advancements in engineering and science.
| © 1984-2012- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |