MATLAB® provides functions in three packages for accessing the HDF4 SD, GD, and SW interfaces. In addition, interface functions allow direct access to other HDF4 APIs. To use these functions, you must be familiar with the HDF library. For copyright information, see the
|Gateway to HDF multifile annotation (AN) interface|
|Gateway to HDF external data (HX) interface|
|Gateway to HDF H interface|
|Gateway to HDF HD interface|
|Gateway to HDF HE interface|
|Utilities for working with MATLAB HDF gateway functions|
|Interface to HDF-EOS Point object|
|Gateway to HDF Vgroup (V) interface|
|Gateway to VF functions in HDF Vdata interface|
|Gateway to VH functions in HDF Vdata interface|
|Gateway to VS functions in HDF Vdata interface|
|Gateway to HDF 24-bit raster image (DF24) interface|
|Gateway to HDF 8-bit raster image (DFR8) interface|
Each HDF4 API includes many individual routines that you use to read data from files, write data to files, and perform other related functions.
This example shows how to read data from a Scientific Data Set in an HDF4 file, using the functions in the
This example shows how to write MATLAB® arrays to a Scientific Data Set in an HDF4 file.
Hierarchical Data Format (HDF4) is a general-purpose, machine-independent standard for storing scientific data in files, developed by the National Center for Supercomputing Applications (NCSA).