Quantcast

Documentation Center

  • Trial Software
  • Product Updates

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 the text string name exists within the property list or class specified by prop_id.

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
Was this topic helpful?