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)
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)
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)
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)
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.
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.