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.get_member_type

Data type of specified member

Syntax

type_id = H5T.get_member_type(type_id,membno)

Description

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.

Examples

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

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

Was this topic helpful?