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_create_intermediate_group

Set creation of intermediate groups

Syntax

H5P.set_create_intermediate_group(lcpl_id,flag)

Description

H5P.set_create_intermediate_group(lcpl_id,flag) specifies in the link creation property list lcpl_id whether to create missing intermediate groups.

Examples

Enable the creation of intermediate groups.

fid = H5F.create('myfile.h5');
lcpl = H5P.create('H5P_LINK_CREATE');
H5P.set_create_intermediate_group(lcpl,1);
gid = H5G.create(fid,'/a/b/c/d',lcpl,'H5P_DEFAULT','H5P_DEFAULT');
H5G.close(gid);
H5F.close(fid);