MATLAB Profiler - Granularity of Information

1 view (last 30 days)
MATLAB Profiler produces very coarse granularity of performance statistics on a model I'm developing and testing:
  • # of times a routine is called;
  • Total Time, and Self Time.
However no information is provided on other routines, including MATLAB primitives, called. Can this finer grained information be obtained from Profiler?
per isakson
per isakson on 4 Sep 2020
There are four technical articles on Undocumented profiler options on Altman's web-site. And he mostly provides good answers to specific questions in the comment sections.

Sign in to comment.

Accepted Answer

Yair Altman
Yair Altman on 8 Sep 2020
Use the [undocumented] -detail builtin profiler option, as in: profile on -detail builtin
This works on old Matlab releases as well as new ones.

More Answers (1)

Sean de Wolski
Sean de Wolski on 3 Sep 2020
This got better in R2020a with the new interface to the profiler.
  1 Comment
Evans Harrigan
Evans Harrigan on 4 Sep 2020
We are planning to upgrade to this version, imminently.

Sign in to comment.


Find more on Introduction to Installation and Licensing in Help Center and File Exchange




Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!