FUNCTION REFERENCE

ishandle

True for valid graphics handles or open figure numbers.

True for valid graphics handles or open figure numbers.

Syntax

tf = ishandle(h)

Returns true where h holds a handle to an object that still exists. For a number, true when a figure with that number is open.

Example

plot(1:3); ax = gca; ishandle(ax)   % true

Differences from MATLAB: Not checked against MATLAB yet. Other values give false.

These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.