When you run the Profiler on a file, some code might not run,
such as a block containing an
To determine how much of a file MATLAB® executed when you profiled it, run the Coverage Report.
Ensure that the Profiler is not currently profiling.
In the Profiler, a Stop Profiling button displays if the Profiler is running. If the Profiler is running, click the Stop Profiling button.
At the command prompt, check the Profiler status using
status. If the
stop the Profiler by typing
Use the Current Folder browser to navigate to the folder containing the profiled code file.
On the Current Folder browser, click , and then select Reports > Coverage Report.
The Profiler Coverage Report opens, providing a summary of coverage
for the profiled file. In the following image, the profiled file is
Click the Coverage link to see the Profile Detail Report for the file.
Note: MATLAB does not support creating Profiler Coverage Reports for live scripts. When creating a report for all files in a folder, any live script in the selected folder is excluded from the report.