Main Content

Summarize which blocks triggered code replacements

Include a summary of replacement functions used and their associated blocks in the code generation report

Model Configuration Pane: Code Generation / Report

Description

Include code replacement report summarizing replacement functions used and their associated blocks in the code generation report.

Dependencies

  • This parameter only appears for ERT-based targets.

  • This parameter requires an Embedded Coder® license when generating code.

  • This parameter is enabled when you select Create code generation report.

Settings

off (default) | on
On

Include code replacement report in the code generation report.

Note

Selecting this option also generates code replacement trace information for viewing in the Trace Information tab of the Code Replacement Viewer. The generated information can help you determine why an expected code replacement did not occur.

Off

Omit code replacement report from the code generation report.

Recommended Settings

ApplicationSetting
DebuggingNo impact
TraceabilityNo impact
EfficiencyNo impact
Safety precautionNo impact

Programmatic Use

Parameter: GenerateCodeReplacementReport
Type: Boolean
Value: on | off
Default: off

Version History

Introduced in R2012a