Documentation Center

  • Trial Software
  • Product Updates

H5I.is_valid

Determine if specified identifier is valid

Syntax

tf = H5I.is_valid(obj_id)

Description

tf = H5I.is_valid(obj_id) determines whether the identifier obj_id is valid.

Examples

fapl = H5P.create('H5P_FILE_ACCESS');
H5P.close(fapl);
if H5I.is_valid(fapl);
    fprintf('File access property list is valid.\n');
else
    fprintf('File access property list is not valid.\n');
end
Was this topic helpful?