Main Content

Increment variable name with each simulation

Create new coverage data variable for each simulation

Model Configuration Pane: Coverage

Description

The Increment variable name with each simulation parameter specifies whether to create a new variable to store coverage results for each consecutive simulation.

Dependencies

To enable this parameter, select the Enable coverage analysis and Save last run in workspace variable parameters.

Settings

off (default) | on
off

Do not create a new variable for each consecutive simulation when you collect coverage. Simulating your model overwrites the coverage results from the previous simulation.

on

Create a new variable for each consecutive simulation when you collect coverage. Simulink® Coverage™ creates a new workspace variable by appending an incrementing counter to the cvdata object name parameter. For example, covdata1, covdata2, and so on.

Programmatic Use

Parameter: CovNameIncrementing
Type: character vector | string
Value: "on" | "off"
Default: "off"

Version History

Introduced before R2006a