Main Content

Enable custom code analysis

Option to enable support for code coverage and Simulink Design Verifier

Model Configuration Pane: Simulation Target

Description

The Enable custom code analysis parameter specifies whether or not to enable Simulink® Coverage™ and Simulink Design Verifier™ support for custom code. This option affects the C Caller block, the C Function block, the MATLAB Function block, the MATLAB System block, and Stateflow® charts.

Settings

off (default) | on
on

Enables Simulink Coverage and Simulink Design Verifier support for custom code.

off

Disables Simulink Coverage and Simulink Design Verifier support for custom code.

Recommended Settings

ApplicationSetting
Debugging

No recommendation

Traceability

No recommendation

Efficiency

No recommendation

Safety precaution

No recommendation

Programmatic Use

Parameter: SimAnalyzeCustomCode
Value: "on" | "off"
Default: "off"

Version History

Introduced in R2020b

See Also