Main Content

Record coverage for this model

R2026b

Record coverage during simulation

Model Configuration Pane: Coverage

Description

The Record coverage for this model parameter specifies whether to perform model coverage analysis during simulation.

Note

The Record coverage for this model parameter is not recommended. Use the Enable coverage analysis parameter instead.

Settings

off (default) | on
off

Do not perform model coverage analysis during simulation.

on

Perform model coverage analysis during simulation.

Programmatic Use

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

Limitations

  • Collecting model coverage for models in rapid accelerator simulation mode is not supported. If your model uses rapid accelerator simulation mode, the Record coverage for this model parameter is ignored.

  • If your model is in accelerator mode, changing the value of the Record coverage for this model parameter requires rebuilding the accelerator executable target.

Version History

Introduced before R2006a