User`s guide

18 Coverage Collection During Simulation
18-16
Record Coverage for the Second Instance of the Referenced Model
Record coverage for two Model blocks. Set the simulation mode of a second Model block
to Normal and simulate the model. In this example, the Counter2 block adds to the
coverage for the model referenced from both Model blocks.
1
In the Simulink Editor for your top-level model, right-click a second Model block and
select Block Parameters (ModelReference).
The Function Block Parameters dialog box opens.
2
Set the Simulation mode parameter to Normal.
3
Click OK to save your change and exit the Function Block Parameters dialog box.
The corners of the Model block change to indicate that the simulation mode for this
block is Normal, as in the example below.