Hauptinhalt

Coverage metric settings

R2026b

Coverage metrics to analyze

Model Configuration Pane: Coverage

Description

The Coverage metric settings parameter specifies which coverage metrics Simulink® Coverage™ analyzes.

Note

Using Coverage metric settings is not recommended. Use the alternatives listed in the table instead.

To specify what coverage metrics to analyze, enter one or more of these letters:

LetterTaskAlternative
dCollect decision coverageUse the Structural coverage level parameter
cCollect condition coverageUse the Structural coverage level parameter
mCollect MCDC coverageUse the Structural coverage level parameter
tCollect lookup table coverageUse the Lookup table parameter
rCollect signal range coverageUse the Signal range parameter
zCollect signal size coverageUse the Signal size parameter
oCollect coverage for Simulink Design Verifier™ blocksUse the Objectives and constraints parameter
iCollect saturation on integer overflow coverageUse the Saturation on integer overflow parameter
bCollect relational boundary coverageUse the Relational boundary parameter
sSpecify that coverage must take into account the order of operands in blocks that perform a logical operationUse the Treat Simulink logic blocks as short-circuited parameter.

Dependencies

To enable this parameter, select the Enable coverage analysis parameter.

Settings

d (default) | character vector | string

Enter a sequence of letters that describe the coverage metrics to analyze. For example, enter dc to collect decision and condition coverage.

Programmatic Use

Parameter: CovMetricSettings
Type: character vector | string
Value: Character vector or string where each character denotes a coverage metric. For example, 'dc' specifies decision and condition coverage.
Default: 'd'

Limitations

If your model is in accelerator mode, changing the value of the Coverage metric settings parameter requires rebuilding the accelerator executable target.

Version History

Introduced before R2006a