Path: news.mathworks.com!not-for-mail
From: Steve Eddins <Steve.Eddins@mathworks.com>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Information on a undocumented function (callstats)
Date: Fri, 09 May 2008 16:47:44 -0400
Organization: The MathWorks, Inc.
Lines: 32
Message-ID: <g02d9g$7a9$1@fred.mathworks.com>
References: <g02774$77v$1@fred.mathworks.com>
NNTP-Posting-Host: eddinss-lt.dhcp.mathworks.com
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: fred.mathworks.com 1210366064 7497 172.31.57.98 (9 May 2008 20:47:44 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Fri, 9 May 2008 20:47:44 +0000 (UTC)
User-Agent: Thunderbird 2.0.0.14 (Windows/20080421)
In-Reply-To: <g02774$77v$1@fred.mathworks.com>
Xref: news.mathworks.com comp.soft-sys.matlab:467642


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.