Is certain matlab-routine used in matlab script?
问题 I am running a big m-file that I didn't write myself and that depends on certain subfunctions. I want to know if anywhere in all nested functions a particular function (in my case the function eig.m (to calculate eigenvalues) ) is used. Is there a quick way to do this? kind regards, Koen 回答1: You can use the semi-documented function getcallinfo (see Yair Altman's blog for more information about it): getcallinfo Returns called functions and their first and last lines This function is