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. Please click here
To view all translated materials including this page, select Japan from the country navigator on the bottom of this page.


Data type class for compound data type member


output = H5T.get_member_class(type_id,membno)


output = H5T.get_member_class(type_id,membno) returns the data type class of the compound data type member specified by membno. The type_id argument is the data type identifier of a compound object.


fid ='example.h5');
dset_id =,'/g3/compound');
type_id = H5D.get_type(dset_id);
member_name = H5T.get_member_name(type_id,0);
member_class = H5T.get_member_class(type_id,0);
Was this topic helpful?