%% Read Entire HDF5 Dataset
% Get the metadata for a dataset from the HDF5 file and then read the dataset.
% Display the metadata for a dataset /g4/lat from the HDF5 file example.h5.

h5disp('example.h5','/g4/lat')

% Read the dataset.

data = h5read('example.h5','/g4/lat')

% Copyright 2015 The MathWorks, Inc.