Display Option Details
Show function listing Display the source code for the function, if it is a MATLAB
code file.
For each line of code, the Function listing includes these
columns:
- Execution time for each line of code
- Number of times that MATLAB executed the line of code
- The line number
- The source code for the function. The color of the text
indicates the following:- Green — Commented lines
- Black — Executed lines of code
- Gray — Non-executed lines of code
By default, the Profile Detail report highlights lines of code
with the longest execution time. The darker the highlighting,
the longer the line of code took to execute. To change the
highlighting criteria, use the color highlight code drop-down
list.
See Also
profile
More About
- “Measure Performance of Your Program” on page 28-2
- “Techniques to Improve Performance” on page 28-14
- “Use Profiler to Determine Code Coverage” on page 28-12
See Also