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.
MATLAB supports HDF4 version 4.2.15.
|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|
Examples and How To
- Map HDF4 to MATLAB Syntax
Each HDF4 API includes many individual routines that you use to read data from files, write data to files, and perform other related functions.
- Import HDF4 Files Using Low-Level Functions
This example shows how to read data from a Scientific Data Set in an HDF4 file, using the functions in the
- Export to HDF4 Files
This example shows how to write MATLAB® arrays to a Scientific Data Set in an HDF4 file.
- About HDF4 and HDF-EOS
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).