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.

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);