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

 Akzeptierte Antwort

Walter Roberson
Walter Roberson am 26 Nov. 2013
Bearbeitet: Walter Roberson am 26 Nov. 2013

5 Stimmen

isa(YourVar,'function_handle')

Weitere Antworten (0)

Kategorien

Mehr zu Creating, Deleting, and Querying Graphics Objects finden Sie in Hilfe-Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by