MATLAB Programming Fundamentals - MathWorks

(やまだぃちぅ) #1
1 In the Profiler, click Start Profiling. Make sure that no code appears in the Run this
code field.
2 Start the user interface.
3 Use the interface. When you finish, click Stop Profiling in the Profiler, and view the
Profile Summary report.

NoteTo exclude the user interface startup process in the profile, reverse steps 1 and 2.
In other words, start the user interface before you click Start Profiling.

Profile Summary Report


The Profile Summary report presents statistics about the overall execution of the function
and provides summary statistics for each function called. The following is an image of the
Profile Summary report for the Lotka-Volterra model. See “Using the Profiler” on page 28-
6.

28 Performance

Free download pdf