Skip to Main Content Skip to Search
Login
File Exchange
MATLAB Newsgroup
Link Exchange
  Blogs  
 Contest 
MathWorks.com

Thread Subject: Information on a undocumented function (callstats)

Subject: Information on a undocumented function (callstats)

From: Paulo Pegado

Date: 09 May, 2008 19:04:04

Message: 1 of 5

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.

Subject: Re: Information on a undocumented function (callstats)

From: Steve Eddins

Date: 09 May, 2008 20:47:44

Message: 2 of 5

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.

Subject: Re: Information on a undocumented function (callstats)

From: Juliana Bezerra

Date: 12 May, 2008 13:00:24

Message: 3 of 5

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 Profiler, the result is showed in a
report.
Do you know if it is possible to use "profile('info')" and
get the result of the Simulink Profiler?

Regards,
Juliana

Subject: Re: Information on a undocumented function (callstats)

From: Juliana Bezerra

Date: 12 May, 2008 13:04:02

Message: 4 of 5

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

Subject: Re: Information on a undocumented function (callstats)

From: Steve Eddins

Date: 12 May, 2008 13:31:26

Message: 5 of 5

Juliana Bezerra wrote:
> [snip]
>
> 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

I doubt it, but I don't know any details about the Simulink Profiler.

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
function Paulo Pegado 09 May, 2008 15:05:23
callstats Paulo Pegado 09 May, 2008 15:05:23
undocumented Paulo Pegado 09 May, 2008 15:05:23
rssFeed for this Thread

envelope graphic E-mail this page to a colleague

Public Submission Policy
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 Disclaimer prior to use.
Related Topics