Determining if a variable is a function handle

22 visualizaciones (últimos 30 días)
E. Bisson
E. Bisson el 26 de Nov. de 2013
Comentada: James Brice el 14 de Nov. de 2019
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 Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by