%% Read Data Set in HDF File
% Specify the name of the HDF file and the name of the data set. This example reads a data set named temperature from a sample HDF file.

data = hdfread('sd.hdf','temperature');

% Copyright 2015 The MathWorks, Inc.