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.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);
Was this topic helpful?