Generate Traceability Report
Generate model-to-code and code-to-model traceability report
Model Configuration Pane: PLC Code Generation / Reports
Description
The Generate traceability report parameter generates an HTML code generation report with hyperlinks from code-to-model and model-to-code. When you click the hyperlink besides a certain line of code in the report, Simulink® PLC Coder™ highlights the corresponding block in your model. When you select a certain block in your model, the report highlights all lines of code corresponding to that block.
Specify whether to create a code generation report. This option is available on the PLC Code Generation > Report pane in the Configuration Parameters dialog box.
Settings
- On
Creates code generation report as an HTML file.
- Off
Suppresses creation of code generation report.
Recommended Settings
Application | Setting |
---|---|
Debugging | On |
Traceability | On |
Efficiency | No impact |
Safety precaution | No impact |
Programmatic Use
Parameter: PLC_GenerateReport |
Type: string |
Value: 'on' | 'off' |
Default: 'on' |
Limitations
Simulink PLC Coder does not generate a traceability report file when generating Ladder Diagrams from Stateflow® charts. However, traceability report file is generated when generating Structured Text from Stateflow charts.
Version History
Introduced in R2012b