User`s guide
18 Coverage Collection During Simulation
18-64
1
Open the doc_atomic_subcharts_map_iodata model.
This model contains two Sine Wave blocks that supply input signals to the Stateflow
chart. Chart contains two atomic subcharts—A and B—that are linked from the
same library chart, also named A. The library chart contains the following objects:
2
In the Simulink Editor, select Analysis > Coverage > Settings
The Coverage Settings dialog box appears.
3
On the Coverage tab, select Coverage for this model:
doc_atomic_subcharts_map_iodata.
4
On the Reporting tab, select Generate HTML report.
5
Click OK to close the Coverage Settings dialog box.
6
Simulate the doc_atomic_subcharts_map_iodata model.
When the simulation completes, the coverage report opens.
The report provides coverage data for atomic subcharts A and B in the following forms:
• For the atomic subchart instance and its contents. Decision coverage is not applicable
(NA) because this chart does not have an explicit trigger.