Desktop Tools and Development Environment Previous page   Next Page

Coverage Report

Run the Coverage Report after you run the Profiler to identify how much of a file ran when it was profiled. For example, when you have an if statement in your code, that section might not run during profiling, depending on conditions.

You can run the Coverage Report from the Profiler, or follow these steps:

  1. In the MATLAB desktop, select Desktop -> Profiler. Profile an M-file in the Profiler. For detailed instructions, see Profiling for Improving Performance.
  2. In the Current Directory browser, select Coverage Report. The Coverage Report appears, providing a summary of coverage for the M-file you profiled.

    Image of Coverage Report.

  3. Click the Coverage link to see the Profile Detail Report for the file.

Previous page  File Comparison Report M-Lint Code Check Report Next page

© 1994-2005 The MathWorks, Inc.