Main Content

Include in analysis: C/C++ S-functions

Analyze coverage for C/C++ S-Function blocks

Model Configuration Pane: Coverage

Description

The Include in analysis: C/C++ S-functions parameter specifies whether to analyze coverage for C/C++ code in S-Function blocks in your model. For more information about coverage for S-Functions, see Coverage for Custom C/C++ Code in Simulink Models.

If your model contains C/C++ S-functions, selecting or clearing Include in analysis: C/C++ S-functions can cause the checksum property of the cvdata object to change. To aggregate coverage results for two or more simulations, the checksum property of the cvdata objects must match.

Dependencies

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

Settings

on (default) | off
on

Collect coverage data for C/C++ code in S-Function blocks in the model.

off

Do not collect coverage data for C/C++ code used in S-Function blocks in the model.

Programmatic Use

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

Version History

Introduced in R2014a