8.6.2 Using the Profiler and M-Lint for Enhancing Performance
The profiler only shows the time that each lines takes. In order to generate MATLAB analy-
sis of your code, you should generate a M-Lint code check report. The M-Lint code analyzer
checks your code for problems and recommends modifications to maximize performance and
maintainability. To generate M-Lint code check report for an M-file, select tools -> M-Lint
-> show M-Lint Report in the editor/debugger. For example, the M-Lint code report for
Mandelbrot.m is shown in Figure 8.9. You can also view the M-Lint report in the file listing
as shown in Figure 8.8 by ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month, and much more.