MATLAB: Finding the parent function name

finding the parent function name

function y = data_num(a,b,c)
How can I find the parent function of ''data_num''?
if i am using deprpt('data_num'). It is not displaying the parent function name. It is thrwoing a error as
''Parent functions cannot be displayed in dependency reports for a single file''.
Thanks a lot

Best Answer

  • There is typically not just one caller of any given .m file, and the callers of any given .m file might not even be in any directory that is on your current MATLAB path.
    Image Analyst suggests using control-shift-F for multi-file search