Using Simulink | ![]() ![]() |
Coverage Settings Dialog Box
The Coverage Settings dialog box allows you to select model coverage reporting options.
The dialog box includes the following options.
Enable Coverage Reporting
Causes Simulink to gather and report model coverage data during simulation.
Coverage Instrumentation Path
Path of the subsystem for which Simulink gathers and reports coverage data. By default, Simulink generates coverage data for the entire model. To restrict coverage reporting to a particular subsystem, select Browse.
Simulink displays a System Selector dialog.
Select the subsystem for which you want coverage reporting to be enabled. Click OK to dismiss the dialog.
Save to workspace
Name of workspace object containing coverage data generated by Simulink.
Increment variable name with each simulation
If selected, this option causes Simulink to increment the name of the coverage data object with each simulation. This prevents the current simulation run from overwriting the results of the previous run.
Generate HTML report
Causes Simulink to create an HTML report containing the coverage data. Simulink displays the report in the MATLAB help browser at the end of the simulation.
Additional data to include in report
Names of coverage data from previous runs to include in the current report along with the current coverage data. This option and the previous option allow you to generate a single report containing the results of multiple simulation runs.
![]() | The Coverage Report | Model Coverage Commands | ![]() |