Search All of the Math Forum:
Views expressed in these public forums are not endorsed by
Drexel University or The Math Forum.
|
|
Kristin
Posts:
59
Registered:
2/22/12
|
|
Re: Finding nested function names?
Posted:
Jan 23, 2013 9:40 PM
|
|
"Alexis" wrote in message <k9bhur$33e$1@newscl01ah.mathworks.com>... > I would like a list of the nested functions within a function. Is there any way of getting this information? > > Example: > > function myfunc > > findSubFuncs % gives a list of the subfunctions within this function, like {'subFunc1', 'subFunc2', 'subFunc3', 'subFunc4'} > > function subFunc1 > end > > function subFunc2 > end > > function subFunc3 > end > > function subFunc4 > end > end
I am curious about this as well. The annoying way to do this is to read the mfile as a text file and search etc etc.... But I am interested in a good solution...
|
|
|
|