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.


Return dataset fill value


value = H5P.get_fill_value(plist_id,type_id)


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.


fid ='example.h5');
dset_id =,'/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);