Thread Subject: ways to extract list of functions and its hierarchy

Subject: ways to extract list of functions and its hierarchy

From: Abe Lau

Date: 18 Aug, 2008 04:08:02

Message: 1 of 2

Hi all,
I've written a GUI matlab routine with around 20 child
functions. To include a brief summary in a report, I would
like to extract the function hierarchy, summary of each
function (no. of lines, header, doc etc). Is there any nice
way of doing that?

It looks to me that the report generator in Matlab doesn't
work that way...
Thanks,
Abe

Subject: ways to extract list of functions and its hierarchy

From: rodney.thomson@gmail.com

Date: 18 Aug, 2008 08:54:48

Message: 2 of 2

On Aug 18, 12:08=A0pm, "Abe Lau" <a...@nonexistancegmail.com> wrote:
> Hi all,
> I've written a GUI matlab routine with around 20 child
> functions. =A0To include a brief summary in a report, I would
> like to extract the function hierarchy, summary of each
> function (no. of lines, header, doc etc). =A0Is there any nice
> way of doing that?
>
> It looks to me that the report generator in Matlab doesn't
> work that way...
> Thanks,
> Abe

Maybe look at the MATLAB function: depfun

It returns a list of your dependent M-functions from which you could
derive the information you want.

Also check out M2HTML, sort of like Doxygen, but for MATLAB code:
http://www.artefact.tk/software/matlab/m2html/

Rod
--
http://iheartmatlab.blogspot.com

Tags for this Thread

Everyone's Tags:

Add a New Tag:

Separated by commas
Ex.: root locus, bode

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Tag Activity for This Thread
Tag Applied By Date/Time
report summary ... Abe Lau 18 Aug, 2008 11:57:27
rssFeed for this Thread
 

MATLAB Central Terms of Use

NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content. Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available via MATLAB Central. Read the complete Terms prior to use.

Contact us at files@mathworks.com