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.all_filters_avail

Determine availability of all filters

Syntax

value = H5P.all_filters_avail(dcpl_id)

Description

value = H5P.all_filters_avail(dcpl_id) returns a positive value if all of the filters set in the dataset creation property list dcpl_id are currently available, and zero if they are not. A negative value indicates failure.

Examples

fid = H5F.open('example.h5');
dset_id = H5D.open(fid,'/g3/float');
dcpl = H5D.get_create_plist(dset_id);
if H5P.all_filters_avail(dcpl)
    fprintf('all filters available\n');
else
    fprintf('all filters not available\n');
end
H5P.close(dcpl);
H5D.close(dset_id);
H5F.close(fid);

See Also

Was this topic helpful?