This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.


Utilities for working with MATLAB HDF gateway functions


tag = hdfml('tagnum',tagname)
nbytes = hdfml('sizeof',data_type)


hdfml('closeall') closes all open registered HDF file and data object identifiers.

hdfml('listinfo') prints information about all open registered HDF file and data object identifiers.

tag = hdfml('tagnum',tagname) returns the tag number corresponding to the tag name specified by tagname.

nbytes = hdfml('sizeof',data_type) returns size in bytes of specified data type.

hdfml('defaultchartype',char_type) defines the HDF data type for text data in MATLAB®. Valid values for char_type are 'char8' or 'uchar8'. The change persists until the MATLAB HDF gateway function is cleared from memory. Text data in MATLAB are mapped to char8 by default.

The MATLAB HDF gateway functions maintain lists of certain HDF file and data object identifiers so that, for example, HDF objects and files can be properly closed when a user issues the command:

clear mex
These lists are updated whenever these identifiers are created or closed.

Introduced before R2006a

Was this topic helpful?