"Rui" <firstname.lastname@example.org> wrote in message news:email@example.com... > Quinta-feira, 18 de Julho de 2013 11:30:14 UTC+1, Jos (10584) escreveu: >> Rui wrote in message >> <firstname.lastname@example.org>... >> >> > Is there a way to check if variable is a function handle? I couldn't >> > find any reference on Mathworks' is* page.
> Thanks for the help, Jos. > > As a future reference, this property is implicitly defined in Mathwork's > page on the isa() function , with the 'function_handle' label being > included in the 'MATLAB fundamental types' section.
It's not a property, it's the class of the variable. You can confirm this using:
f = @sin; whos f
or by looking in the Tips section of this documentation page: