Documentation

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.

H5T.get_super

Base data type

Syntax

super_type_id = H5T.get_super(type_id)

Description

super_type_id = H5T.get_super(type_id) returns the base data type from which the data type type specified by type_id is derived.

Examples

Retrieve the base data type for an enumerated dataset.

fid = H5F.open('example.h5');
dset_id = H5D.open(fid,'/g3/enum');
dtype_id = H5D.get_type(dset_id);
super_type_id = H5T.get_super(dtype_id);
Was this topic helpful?