%% Read Data Set Attribute
% Read the units attribute.

attval = h5readatt('example.h5','/g4/lon','units')

% Copyright 2015 The MathWorks, Inc.