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.


Value of specified property in property list


value = H5P.get(plist_id,name)


value = H5P.get(plist_id,name) retrieves a copy of the value of the property specified by name in the property list specified by plist_id. Specify name as a character vector or string scalar. The H5P.get function returns the property as an array of uint8 values. You might need to cast the value to an appropriate data type to get a meaningful result.


plist = H5P.create('H5P_FILE_ACCESS');
val = H5P.get(plist, 'rdcc_w0');
rdcc_w0 = typecast(val,'double');

It is recommended to use alternative functions like H5P.get_chunk, H5P.get_layout, H5P.get_size etc., where available, to get values for the common property names.

See Also