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.

H5A.get_info

Information about attribute

Syntax

info = H5A.get_info(attr_id)

Description

info = H5A.get_info(attr_id) returns information about an attribute specified by attr_id.

Examples

fid = H5F.open('example.h5');
gid = H5G.open(fid,'/');
attr_id = H5A.open(gid,'attr1');
info = H5A.get_info(attr_id);
H5A.close(attr_id);
H5G.close(gid);
H5F.close(fid);

See Also

Was this topic helpful?