MATLAB Answers

0

Determining if a variable is a function handle

Asked by E. Bisson on 26 Nov 2013
Latest activity Commented on by James Brice on 14 Nov 2019 at 9:38
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

Sign in to comment.

1 Answer

Answer by Walter Roberson
on 26 Nov 2013
Edited by Walter Roberson
on 26 Nov 2013
 Accepted Answer

isa(YourVar,'function_handle')

  1 Comment

Thanks!

Sign in to comment.