Model Configuration Parameters: Code Generation Report
The Code Generation > Report category includes parameters for generating and customizing the code generation report. These parameters require a Simulink® Coder™ license. Additional parameters available with an ERT-based target require an Embedded Coder® license.
On the Configuration Parameters dialog box, the following configuration parameters are on the Code Generation > Report pane.
Parameter | Description |
---|---|
Create code generation report (Simulink Coder) | Document generated code in an HTML report. |
Open report automatically (Simulink Coder) | Specify whether to display code generation reports automatically. |
Generate model Web view (Embedded Coder) | Include the model Web view in the code generation report to navigate between the code and model within the same window. |
Generate static code metrics (Embedded Coder) | Include static code metrics report in the code generation report. |
These configuration parameters are under the Advanced parameters.
Parameter | Description |
---|---|
Code-to-model (Embedded Coder) | Include hyperlinks in the code generation report that link code to the corresponding Simulink blocks, Stateflow® objects, and MATLAB® functions in the model diagram. |
Model-to-code (Embedded Coder) | Link Simulink blocks, Stateflow objects, and MATLAB functions in a model diagram to corresponding code segments in a generated HTML report so that the generated code for a block can be highlighted on request. |
Configure (Embedded Coder) | Open the Model-to-code navigation dialog box for specifying a build folder containing previously-generated model code to highlight. |
Eliminated / virtual blocks (Embedded Coder) | Include summary of eliminated and virtual blocks in code generation report. |
Traceable Simulink blocks (Embedded Coder) | Include summary of Simulink blocks in code generation report. |
Traceable Stateflow objects (Embedded Coder) | Include summary of Stateflow objects in code generation report. |
Traceable MATLAB functions (Embedded Coder) | Include summary of MATLAB functions in code generation report. |
Summarize which blocks triggered code replacements (Embedded Coder) | Include code replacement report summarizing replacement functions used and their associated blocks in the code generation report. |
Related Topics
- Report Generation (Simulink Coder)
- Model Configuration Set Customization (Simulink Coder)