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

Determine if property list is member of class

Syntax

output = H5P.isa_class(plist_id, pclass_id)

Description

output = H5P.isa_class(plist_id, pclass_id) returns a positive number if the property list specified by plist_id is a member of the class specified by pclass_id, zero if it is not, and a negative value to indicate an error.

Examples

 fid = H5F.open('example.h5');
 fcpl = H5F.get_create_plist(fid);
 if H5P.isa_class(fcpl,'H5P_FILE_ACCESS')
     fprintf('fcpl is a file access property list\n');
 else
     fprintf('fcpl is not a file access property list\n');
 end

See Also

Was this topic helpful?