Function Reference: h5readatt

: val = h5readatt (fname, loc, attr)

Read data associated to a group or dataset attribute attr, at location loc.

The location loc must be a string indicating the path to the related group or dataset.

 
 ## Read attribute "color" in dataset "triangle" located at the root of an hdf5 file
 color = h5readatt ("some_file.h5", "/triangle", "color");
 

See also: h5info

Source Code: h5readatt