Path: news.mathworks.com!not-for-mail
From: "Juliana Bezerra" <juliana.bezerra@embraer.com.br>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Information on a undocumented function (callstats)
Date: Mon, 12 May 2008 13:04:02 +0000 (UTC)
Organization: EMBRAER
Lines: 55
Message-ID: <g09f82$j6a$1@fred.mathworks.com>
References: <g02774$77v$1@fred.mathworks.com> <g02d9g$7a9$1@fred.mathworks.com>
Reply-To: "Juliana Bezerra" <juliana.bezerra@embraer.com.br>
NNTP-Posting-Host: webapp-02-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1210597442 19658 172.30.248.37 (12 May 2008 13:04:02 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Mon, 12 May 2008 13:04:02 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1040406
Xref: news.mathworks.com comp.soft-sys.matlab:467894


Steve Eddins <Steve.Eddins@mathworks.com> wrote in message 
<g02d9g$7a9$1@fred.mathworks.com>...
> Paulo Pegado wrote:
> > Hi Folks,
> > 
> > I've been working on a script to create a custom html 
report
> > with data from the Simulink Profiler Report. In my 
studies I
> > encountered a function called 'callstats' (saw it in a 
post
> > from Ned Gulley, "Getting code coverage information
> > programmatically".
> > 
> > Anyway, I looked everywhere for some documentation on 
this
> > function and didn't find it anywhere.
> > 
> > Ned in it's reply cited that this function is 
undocumented
> > and may change in the future. But hey, there must be 
some
> > source of knowledgement about this particular function.
> > 
> > Anybody knows where can I get some information about 
this
> > 'callstats' function?
> > 
> > Thanks.
> > 
> 
> callstats was an early incarnation of the 2nd generation 
MATLAB Profiler 
> that was introduced in MATLAB 5.3 (R11).  Since then, the 
profiler has 
> been substantially revised and enhanced, and it has been 
extended to 
> other parts of the product line, such as Simulink.  The 
old callstats 
> function is no longer used.  All the information that 
callstats used to 
> provide, and much more, is returned by:
> 
> profile('info')
> 
> See the profile reference page for more information.

Hi Steve,

When I run the Simulink Report, the result is a report.
Do you know if it is possible to use profile('info') and 
get the result of Simulink Profiler? 

Regards,
Juliana