Main Content

Select Models

Select models to include in coverage analysis

Model Configuration Pane: Coverage

Description

The Select Models parameter specifies the referenced models for which to analyze coverage. Click the Select Models button to open the Select Models for Coverage Analysis dialog box. In the dialog box, you can select any number of models, including the top-level model. The icon next to the model name indicates the simulation mode.

Dependencies

To enable this parameter, select the Enable coverage analysis parameter and set the Scope of coverage analysis parameter to Referenced Models.

Settings

no default

In the Select Models for Coverage Analysis dialog box, select the referenced models and Observer models for which you want coverage.Select Models for Coveragee Analysis dialog box. On the left, you can select models that you want to analyze for coverage. On the right, instructions explain that supported simulation modes for model coverage are normal and accelerator, and supported simulation modes for code coverage are software-in-the-loop and processor-in-the-loop.

Note

When you specify models in the Select Models for Coverage Analysis dialog box, you select the models to include in the model. When you use the CovModelRefExcluded parameter from the command line, you enter the models you want to exclude from coverage analysis.

Programmatic Use

Parameter: CovModelRefExcluded
Type: character vector | string
Value: Comma-separated list of model names, such as 'mRefA, mRefB, mRefC'. If the same model is referenced in two simulation modes, you can distinguish between them using :. For example, 'mRefA:normal, mRefA:sil'.
Default: ''

Limitations

Simulink® Coverage™ only supports coverage analysis for Observer models that use normal simulation mode.

Version History

Introduced in R2008a