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.

H5G.open

Open specified group

Syntax

group_id = H5G.open(loc_id,name)
group_id = H5G.open(loc_id,name,gapl_id)

Description

group_id = H5G.open(loc_id,name) opens the group specified by name at the location specified by loc_id. loc_id is a file or group identifier. This interface corresponds to the 1.6 version of H5Gopen.

group_id = H5G.open(loc_id,name,gapl_id) opens the group with an additional group access property list, gapl_id. This interface corresponds to the 1.8 version of H5Gopen.

Examples

fid = H5F.open('example.h5');
gid = H5G.open(fid,'/g2');
H5G.close(gid);
H5F.close(fid);