Development Environment |
Importing Data Using the HDF Import Tool
To import the data set you have selected, click the Import button in the bottom right corner of the Importing and Subsetting pane.
In this illustration, the HDF scientific data set, Example SDS
, is selected.
By default, the HDF Import Tool uses the name of the data set as the name of the MATLAB workspace variable. In the figure, the variable name is Example_SDS
. You can change the variable name by entering text in the Workspace Variable Name text box.
To import the metadata associated with the data set, select the Import Metadata check box. The HDF Import Tool creates a second variable in the workspace with the same name with "_info
" appended to it. For example, the name of the metadata variable in the figure is Example_SDS_info
.
The MATLAB Command text window contains the command the import tool used to import the data set. This text is not editable but you can select it to copy and paste it into the MATLAB command window or text editor. To reuse this command on other HDF or HDF-EOS files with the same organization, change the filename in the command string.
Data Subsetting Options | Using the MATLAB High-Level Import Function |