h5readatt
Read HDF5 attribute.
📝Syntax
attval = h5readatt(filename, location, attname)
📥Input Arguments
Parameter Description
filename a string: hdf5 filename.
location a string: full path identifying a group or variable.
attname a string: name of an attribute.
📤Output Arguments
Parameter Description
attval a nelson's variable.
📄Description

h5readatt reads attribute named attname from the HDF5 file.

💡Examples
h5create([tempdir(), 'myfile.h5'],'/myDataset1',[10 20]);
h5writeatt([tempdir(), 'myfile.h5'],'/','creation_date', '26-Dec-2018 16:55:32')
h5readatt([tempdir(), 'myfile.h5'],'/','creation_date')
🔗See Also
h5writeatt
🕔Version History
Version Description
1.0.0 initial version
Edit this page on GitHub