H5P.exist

Determine if specified property exists in property list

Syntax

value = H5P.exist(prop_id,name)

Description

value = H5P.exist(prop_id,name) returns a positive value if the property specified by name exists within the property list or class specified by prop_id. Specify name as a character vector or string scalar.

Examples

fid = H5F.open('example.h5');
fapl = H5F.get_access_plist(fid);
if H5P.exist(fapl,'sieve_buf_size')
    fprintf('sieve buffer size property exists\n');
else
    fprintf('sieve buffer size property does not exist\n');
end