Main Content


Gateway to HDF HE interface


[out1,...,outN] = hdfhe(funcstr,input1,...,inputN)


hdfhe is the MATLAB® gateway to the HDF HE interface.

This is a stub page.

[out1,...,outN] = hdfhe(funcstr,input1,...,inputN) returns one or more outputs corresponding to the HE function in the HDF library specified by functstr.

There is a one-to-one correspondence between HE functions in the HDF library and valid values for funcstr.


Value of funcstrFunction SyntaxDescription
'clear'hdfhe('clear')Clears all information on reported errors from the error stack.
'print'hdfhe('print',level)Prints information in error stack. If level is 0, then the entire error stack is printed.
'string'error_text = hdfhe('string',error_code)Returns the error message associated with the specified error code.
'value'error_code = hdfhe('value',stack_offset)Returns an error code from the specified level of the error stack. A stack_offset value of 1 gets the most recent error code.

Output Arguments

A status or identifier output of -1 indicates that the operation failed.


  • hdfhe does not support these functions:

    • HEpush

    • HEreport

Version History

Introduced before R2006a