Determining if a variable is a function handle
90 views (last 30 days)
Show older comments
E. Bisson
on 26 Nov 2013
Commented: James Brice
on 14 Nov 2019
Is there a function to determine if a variable is a function handle? ishandle works only for graphics or Java object handles.
Thanks
0 Comments
Accepted Answer
Walter Roberson
on 26 Nov 2013
Edited: Walter Roberson
on 26 Nov 2013
isa(YourVar,'function_handle')
More Answers (0)
See Also
Categories
Find more on Call Java from MATLAB in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!