Save cumulative coverage results in workspace variable
Save coverage data from consecutive simulations in a single variable
Model Configuration Pane: Coverage
Description
The Save cumulative coverage results in workspace variable parameter specifies whether to save coverage data from consecutive simulations in a single cvdata object in the MATLAB® workspace.
You can retrieve coverage information from the cvdata
object. For example, to retrieve decision coverage information, use the decisioninfo function.
Specify the variable name of the cvdata object by setting the
Cumulative coverage variable
name parameter.
Note
The Save cumulative coverage results in workspace variable parameter is not recommended. To aggregate coverage data from multiple simulations, see Access, Manage, and Aggregate Coverage Results.
Dependencies
To enable this parameter, select the Enable coverage analysis and Enable cumulative data collection parameters.
Settings
off (default) | onoffDo not aggregate coverage from consecutive simulations into one
cvdataobject in the MATLAB workspace.onAggregate coverage from consecutive simulations into one
cvdataobject in the MATLAB workspace. For more information, see Cumulative Coverage Data.
Programmatic Use
Parameter: CovSaveCumulativeToWorkspaceVar |
Type: character vector |
string |
Value: "on" |
"off" |
Default: "off" |
Version History
Introduced before R2006a