Determining if a variable is a function handle

90 views (last 30 days)
Is there a function to determine if a variable is a function handle? ishandle works only for graphics or Java object handles.
Thanks

Accepted Answer

Walter Roberson
Walter Roberson on 26 Nov 2013
Edited: Walter Roberson on 26 Nov 2013
isa(YourVar,'function_handle')

More Answers (0)

Community Treasure Hunt

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

Start Hunting!