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_attr_phase_change

Retrieve attribute phase change thresholds

Syntax

[max_compact,min_dense] = H5P.get_attr_phase_change(ocpl_id)

Description

[max_compact,min_dense] = H5P.get_attr_phase_change(ocpl_id) retrieves attribute phase change thresholds for the dataset or group with creation property list ocpl_id.

max_compact is the maximum number of attributes to be stored in compact storage (default is 8).

min_dense is the minimum number of attributes to be stored in dense storage (default is 6).

Examples

fid = H5F.open('example.h5');
dset_id = H5D.open(fid,'/g3/integer');
dcpl = H5D.get_create_plist(dset_id);
[max_compact,min_dense] = H5P.get_attr_phase_change(dcpl);
H5P.close(dcpl);
H5D.close(dset_id);
H5F.close(fid);
Was this topic helpful?