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.


Data type of specified member


type_id = H5T.get_member_type(type_id,membno)


type_id = H5T.get_member_type(type_id,membno) returns the data type of the member specified by membno in the data type specified by type_id.


Get the size of the data type of the first member of a compound data type.

fid ='example.h5');
dset_id =,'/g3/compound');
compound_type_id = H5D.get_type(dset_id);
member_type_id = H5T.get_member_type(compound_type_id,0);
type_size = H5T.get_size(member_type_id);

See Also