Main Content

Summarize which blocks triggered code replacements


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

Category: Code Generation > Report


Default: Off


Include code replacement report in the code generation report.


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.


Omit code replacement report from the code generation report.


  • 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.

Command-Line Information

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

Recommended Settings

DebuggingNo impact
TraceabilityNo impact
EfficiencyNo impact
Safety precautionNo impact

Related Topics