Programming Previous page   Next Page

Exporting MATLAB Data to an HDF4 File

To export data from MATLAB in an HDF file, you must use the functions in the HDF API associated with the HDF data type. Each API has a particular programming model, that is, a prescribed way to use the routines to write data sets to the file. (In HDF terminology, the numeric arrays stored in HDF files are called data sets.)

To illustrate this concept, this section describes the programming model of one particular HDF API: the HDF Scientific Data (SD) API. For a complete list of the HDF APIs supported by MATLAB, see the hdf reference page.


Previous page  Using the HDF4 Command-Line Interface Example: Exporting Data to an HDF4 File Next page

© 1994-2005 The MathWorks, Inc.