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.


Get comment for object specified by location and object name


comment = H5O.get_comment_by_name(loc_id,name,lapl_id)


comment = H5O.get_comment_by_name(loc_id,name,lapl_id) retrieves a comment where a location id and name together specify the object. A link access property list can affect the outcome if a link is traversed to access the object.


fid ='example.h5','H5F_ACC_RDONLY','H5P_DEFAULT');
comment = H5O.get_comment_by_name(fid,'g4/world','H5P_DEFAULT');