Documentation

This is machine translation

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

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

hdfml

Utilities for working with MATLAB HDF gateway functions

Syntax

hdfml('closeall')
hdfml('listinfo')
tag = hdfml('tagnum',tagname)
nbytes = hdfml('sizeof',data_type)
hdfml('defaultchartype',char_type)

Description

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 MATLAB® strings. Valid values for char_type are 'char8' or 'uchar8'. The change persists until the MATLAB HDF gateway function is cleared from memory. MATLAB strings 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?