I have a line in the code I’m working on like this:
feval('func_name', myArg);
And it works, but I want to know where func_name is. I can’t step into feval to see where it is finding func_name. Instead of (or in addition to) just doing func_name, how can I get MATLAB to tell me where it found it?
whichis the function you’re looking for.See: http://www.mathworks.com/access/helpdesk/help/techdoc/ref/which.html for more. For example: