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.


Name of enumeration data type member


name = H5T.enum_nameof(type_id,value)


name = H5T.enum_nameof(type_id,value) returns the symbol name corresponding to a member of an enumeration data type. type_id specifies the enumeration data type. value identifies the member of the enumeration.


fid ='example.h5');
dset_id =,'/g3/enum');
type_id = H5D.get_type(dset_id);
name0 = H5T.enum_nameof(type_id,int32(0));
name1 = H5T.enum_nameof(type_id,int32(1));