Main Content

Error (H5E)

Error handling

Description

Use the MATLAB® HDF5 error interface, H5E, to control error handling for HDF5 files.

Functions

H5E.clear

Clear error stack

H5E.clear() clears the error stack for the current thread.

H5E.get_major

Description of major error number

errString = H5E.get_major(majnum) returns a character vector containing the error associated with the major error number, majnum.

The HDF5 group has deprecated the use of this function.

H5E.get_minor

Description of minor error number

errString = H5E.get_minor(minnum) returns a character vector containing the error associated with the minor error number, minnum.

The HDF5 group has deprecated the use of this function.

H5E.walk

Walk error stack

H5E.walk(direction,fnc) walks the error stack for the current thread and calls the specified function for each error along the way. This function corresponds to the H5Ewalk1 function in the HDF5 library C API.

 Details

Version History

Introduced before R2006a