isfigure

Returns true if x is a figure graphics handle; returns false if otherwise.

Syntax

isfigure(h)

Inputs

h
Handle.
Type: double | integer
Dimension: scalar

Outputs

R
Numerical equivalent true/false.

Example

Simple isfigure example.

figure(1);
isfigure(1)
ans = 1