Possible Duplicate:
How can I generate a list of function dependencies in MATLAB?
I have a third party script that uses the image processing toolbox. As I don’t have access to the IPT, I am thinking about replacing functions from the image processing toolbox. The function where the script stops with the error message from the licence manager is rgb2grey, so that shouldn’t be to hard to replace. But I don’t know, what functions come afterwards. It is a big script spanning several folders and files.
What would you recommend?
There seem to be different approaches, but neither seems to be fully automatic.
I tried
list = depdir('function-name')(checking if function is a part of/which toolbox ), but after more than 1h I canceled it.
I will now try running the profiler and checking all functions by hand with
which('function-name'). see How can I generate a list of function dependencies in MATLAB?