Path: news.mathworks.com!newsfeed-00.mathworks.com!nlpi057.nbdc.sbc.com!prodigy.net!border1.nntp.dca.giganews.com!nntp.giganews.com!postnews.google.com!z6g2000pre.googlegroups.com!not-for-mail
From: rodney.thomson@gmail.com
Newsgroups: comp.soft-sys.matlab
Subject: Re: ways to extract list of functions and its hierarchy
Date: Mon, 18 Aug 2008 01:54:48 -0700 (PDT)
Organization: http://groups.google.com
Lines: 24
Message-ID: <e3cc8c4a-6101-4d59-b920-7b80d10ffea9@z6g2000pre.googlegroups.com>
References: <g8asj1$rhj$1@fred.mathworks.com>
NNTP-Posting-Host: 210.193.170.117
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
X-Trace: posting.google.com 1219049689 10065 127.0.0.1 (18 Aug 2008 08:54:49 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Mon, 18 Aug 2008 08:54:49 +0000 (UTC)
Complaints-To: groups-abuse@google.com
Injection-Info: z6g2000pre.googlegroups.com; posting-host=210.193.170.117; 
User-Agent: G2/1.0
X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.1) 
X-HTTP-Via: 1.0 frem-prox1.nautronix:8080 (squid/2.5.STABLE12)
Bytes: 2006
Xref: news.mathworks.com comp.soft-sys.matlab:485987



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