Quantcast

Documentation Center

  • Trial Software
  • Product Updates

H5P.equal

Determine equality of property lists

Syntax

value = H5P.equal(plist1_id, plist2_id)

Description

value = H5P.equal(plist1_id, plist2_id) returns a positive number if the two property lists specified are equal, and zero if they are not. A negative value indicates failure.

Examples

fid = H5F.open('example.h5');
fapl = H5F.get_access_plist(fid);
fcpl = H5F.get_create_plist(fid);
if H5P.equal(fapl,fcpl)
    fprintf('property lists are equal\n');
else
    fprintf('property lists are not equal\n');
end
Was this topic helpful?