ishandle

Return true if variable var is a handle object.

Syntax

  • res = ishandle(var)

Input argument

  • var - a variable

Output argument

  • res - a logical: true or false

Description

ishandle returns a logical 1 if the argument is a handle object and a logical 0 otherwise.

Example

A = 3;
res = ishandle(A)

See also

isa, isvalid.

History

Version
Description

1.0.0

initial version

Author

Allan CORNET

Last updated