Main Content

本页翻译不是最新的。点击此处可查看最新英文版本。

低级函数

与 HDF4 库函数直接交互

MATLAB® 采用三个包来提供用于访问 HDF4 SD、GD 和 SW 接口的函数。此外,利用接口函数还可以直接访问其他 HDF4 API。要使用这些函数,必须熟悉 HDF 库。

MATLAB 支持 HDF4 版本 4.2.15。

matlab.io.hdf4.sd直接与 HDF4 多文件科学数据集 (SD) 接口交互
matlab.io.hdfeos.gd低级别访问 HDF-EOS 网格数据
matlab.io.hdfeos.sw对 HDF-EOS 分段文件的低级别访问

函数

hdfanHDF 多文件注释 (AN) 接口的入口
hdfhxHDF 外部数据 (HX) 接口的入口
hdfhHDF H 接口的入口
hdfhdHDF HD 接口的入口
hdfheHDF HE 接口的入口
hdfmlMATLAB HDF 入口函数配合使用的实用工具
hdfptHDF-EOS 点对象的接口
hdfvHDF Vgroup (V) 接口的入口
hdfvfHDF Vdata 接口中 VF 函数的入口
hdfvhHDF Vdata 接口中 VH 函数的入口
hdfvsHDF Vdata 接口中 VS 函数的入口
hdfdf24HDF 24 位光栅图像 (DF24) 接口的入口
hdfdfr8HDF 8 位光栅图像 (DFR8) 接口的入口

示例和操作指南

  • 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 matlat.io.hdf4.sd package.

  • 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).