Determining if a variable is a function handle

Is there a function to determine if a variable is a function handle? ishandle works only for graphics or Java object handles.
Thanks

 Respuesta aceptada

Walter Roberson
Walter Roberson el 26 de Nov. de 2013
Editada: Walter Roberson el 26 de Nov. de 2013
isa(YourVar,'function_handle')

Más respuestas (0)

Categorías

Más información sobre Creating, Deleting, and Querying Graphics Objects en Centro de ayuda y File Exchange.

Etiquetas

Preguntada:

el 26 de Nov. de 2013

Comentada:

el 14 de Nov. de 2019

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by