Documentation

This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

H5P.get

Value of specified property in property list

Syntax

value = H5P.get(plist_id, name)

Description

value = H5P.get(plist_id, name) retrieves a copy of the value of the property specified by the character vector name in the property list specified by plist_id. 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.

Examples

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

|

Was this topic helpful?