%% Read Group Attributes
% Read the attribute attr2 from the root group of the HDF5 file example.h5.

val = h5readatt('example.h5','/','attr2')

% Copyright 2019 The MathWorks, Inc.