Documentation

This is machine translation

Translated by Microsoft
Mouse over text to see original. Click the button below to return to the English verison of the page.

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?