PLC Coder: Report
Report Overview
After code generation, specify whether a report must be produced. Control the appearance and contents of the report.
The code generation report shows a mapping between Simulink® model objects and locations in the generated code. The report also shows static code metrics about files, global variables, and function blocks.
See Also
Generate Traceability Report
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
Default: on
On
Creates code generation report as an HTML file.
Off
Suppresses creation of code generation report.
Command-Line Information
Parameter: PLC_GenerateReport |
Type: string |
Value: 'on' | 'off' |
Default:
'on' |
See Also
Traceability Report 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.
Ladder Diagrams. charts. However, traceability report file is generated when generating Structured Text from charts.
Generate Model Web View
To navigate between the code and the model within the same window, include the model web view in the code generation report. This option is available on the PLC Code Generation > Report pane in the Configuration Parameters dialog box.
You can share your model and generated code outside of the MATLAB® environment. You must have a Simulink Report Generator™ to include a Web view (Simulink Report Generator) of the model in the code generation report.
Settings
Default: Off
On
Includes model Web view in the code generation report.
Off
Omits model Web view in the code generation report.
Command-Line Information
Parameter: PLC_GenerateWebView |
Type: string |
Value: 'on' | 'off' |
Default: 'off' |
See Also
Open Report Automatically
Specify whether to open the code generation report automatically. This option is available on the PLC Code Generation > Report pane in the Configuration Parameters dialog box.
Settings
Default: off
On
Opens the code generation report as an HTML file.
Off
Suppresses opening of the code generation report.
Command-Line Information
Parameter:
PLC_LaunchReport |
Type: string |
Value:
'on' | 'off' |
Default:
'off' |