Main Content

Interact directly with HDF4 multifile scientific data set (SD) interface


To use these MATLAB® functions, you should be familiar with the HDF SD C API. In most cases, the syntax of the MATLAB function is similar to the syntax of the corresponding HDF library function. The functions are implemented as the package To use this package, prefix the function name with a package path, or use the import function to add the package to the current import list, prior to calling the function, for example,

sdID = sd.start('myfile.hdf','read');

Access access to SD interface access to data set of file of data set with specified index data in external file HDF file and initialize SD interface

Read/Write new data set subsample of data current fill mode of file to data set

Inquiry of data sets and global attributes in file about data set compression value for data set about data set number corresponding to data set identifier of object if data set is a coordinate variable if data set is appendable value of named data set of data sets with same name of data set corresponding to reference number

Dimensions about dimension identifier data for dimension name with dimension scale values for dimension

User-defined Attributes about attribute of specified attribute attribute value attribute value

Predefined Attributes set calibration information attributes for data set attributes for dimension value for data set and minimum range values data set calibration information predefined attributes for data set label, unit, and format attributes fill value for data set maximum and minimum range value for data set

Chunking/Tiling Operations size for data set chunk from data set chunk size and compression method of data set chunk to data set

Compression compression method of data set nonstandard bit length for data set values