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.

H5T.enum_nameof

Name of enumeration data type member

Syntax

name = H5T.enum_nameof(type_id,value)

Description

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.

Examples

fid = H5F.open('example.h5');
dset_id = H5D.open(fid,'/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));
Was this topic helpful?