MATLAB: How to find out the dependency of functions

dependencyfunction

Hi all,
For a function, I'd like to find out which scripts and functions are calling it. For example, there is a function:
func_test.m
I'd like to find where it exists, such as:
/home/usr/MATLAB/package1;
/home/usr/MATLAB/package2/subpack1;
/home/usr/MATLAB/package3/main_script.m;
/home/usr/MATLAB/package4/function_example.m;
Thanks!

Best Answer

This link should help.
Related Question