User`s guide

17 Setting Model Coverage Options
17-6
The icon next to the model name indicates the simulation mode for that referenced
model. You can select only referenced models whose simulation mode is set to
Normal.
If you have multiple Model blocks that reference the same model and whose
simulation mode is set to Normal, selecting or clearing one check box for that model
causes the check boxes for all Normal mode instances of that model to be selected or
cleared.
3
Click OK to close the Select Models for Coverage Analysis dialog box and return to
the Coverage Settings dialog box.
Coverage for MATLAB files
Enables coverage for any external functions called by MATLAB functions in your model.
The MATLAB functions may be defined in a MATLAB Function block or in a Stateflow
chart.
You must select either Coverage for this model or Coverage for referenced models
to select the Coverage for MATLAB files option.
Coverage for S-Functions
Enables coverage for C/C++ S-Function blocks in your model. If you select this option,
coverage metrics are reported for the S-Function blocks and the C/C++ code in those
blocks. For more information, see “Generate Coverage Report for S-Function”.
You must select either Coverage for this model or Coverage for referenced models
to select the Coverage for S-Functions option.
Coverage metrics
Select the types of test case coverage analysis that you want the tool to perform (see
“Types of Model Coverage” on page 15-3). The Simulink Verification and Validation
software gathers and reports those types of coverage for the subsystems, models, and
referenced models you specify.
Results Tab
On the Results tab, select the destination for model coverage results.