Documentation Center

  • Trial Software
  • Product Updates

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?