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.

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?