MATLAB: determine dependencies from 'command line' excluding built in dependencies
问题 Is there a way to determine all the dependencies of an .m file and any of the dependencies of the files it calls using a command in a script (command-line)? There was a question like this before and it was really good because it suggested using the depfun function. BUT the issue with this was that it is outputting the MATLAB related files that it depends on as well. EXAMPLE: testing.m disp('TESTING!!'); The output of depfun('testing') 'C:\testing.m' 'C:\MATLAB\R2008a\toolbox\matlab\datatypes\