Documentation

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.

H5P.set

Set property list value

Syntax

H5P.set(plist_id,name,value)

Description

H5P.set(plist_id,name,value) sets the value of the property specified by the character vector name in the property list specified by plist_id to the value specified in value. The datatype of value must be uint8.

Examples

plist = H5P.create('H5P_FILE_ACCESS');
H5P.set(plist, 'rdcc_w0', typecast(0.8, 'uint8'));

It is recommended to use alternative functions like H5P.set_chunk, H5P.set_layout, H5P.set_size, etc., where available, to set values for the common property names.

See Also

Was this topic helpful?