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_fill_value

Return dataset fill value

Syntax

value = H5P.get_fill_value(plist_id,type_id)

Description

value = H5P.get_fill_value(plist_id,type_id) returns the dataset fill value defined in the dataset creation property list plist_id. The type_id input specifies the datatype of the returned fill value.

Examples

fid = H5F.open('example.h5');
dset_id = H5D.open(fid,'/g3/integer');
dcpl = H5D.get_create_plist(dset_id);
type_id = H5T.copy('H5T_NATIVE_INT');
fill_value = H5P.get_fill_value(dcpl,type_id);
Was this topic helpful?