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.

H5O.open

Open specified object

Syntax

obj_id = H5O.open(loc_id,relname,lapl_id)

Description

obj_id = H5O.open(loc_id,relname,lapl_id) opens an object specified by location identifier and relative path name. lapl_id is the link access property list associated with the link pointing to the object. If default link access properties are appropriate, this can be passed in as 'H5P_DEFAULT'.

Examples

fid = H5F.open('example.h5');
obj_id = H5O.open(fid,'g3','H5P_DEFAULT');
H5O.close(obj_id);
H5F.close(fid);