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
onEnables Simulink Coverage and Simulink Design Verifier support for custom code.
offDisables Simulink Coverage and Simulink Design Verifier support for custom code.
Recommended Settings
| Application | Setting |
|---|---|
| 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
Topics
- Coverage for Custom C/C++ Code in Simulink Models (Simulink Coverage)