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.create

Create new property list

Syntax

plist = H5P.create(class_id)

Description

plist = H5P.create(class_id) creates a new property list as an instance of the property list class specified by class_id. The class_id input can be one of the following character vectors or the corresponding constant value.

'H5P_ATTRIBUTE_CREATE'
'H5P_DATASET_ACCESS'
'H5P_DATASET_CREATE'
'H5P_DATASET_XFER'
'H5P_DATATYPE_CREATE'
'H5P_DATATYPE_ACCESS'
'H5P_FILE_MOUNT'
'H5P_FILE_CREATE'
'H5P_FILE_ACCESS'
'H5P_GROUP_CREATE'
'H5P_GROUP_ACCESS'
'H5P_LINK_CREATE'
'H5P_LINK_ACCESS'
'H5P_OBJECT_COPY'
'H5P_OBJECT_CREATE'
'H5P_STRING_CREATE'

class_id can also be an instance of a property list class.

Examples

fapl = H5P.create('H5P_FILE_ACCESS');
fid = H5F.open('example.h5','H5F_ACC_RDONLY',fapl);
Was this topic helpful?