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.
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.
Default: on
Creates code generation report as an HTML file.
Suppresses creation of code generation report.
Parameter: PLC_GenerateReport |
Type: string |
Value: 'on' | 'off' |
Default:
'on' |
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.
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.
Default: Off
Includes model Web view in the code generation report.
Omits model Web view in the code generation report.
Parameter: PLC_GenerateWebView |
Type: string |
Value: 'on' | 'off' |
Default: 'off' |
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.
Default: off
Opens the code generation report as an HTML file.
Suppresses opening of the code generation report.
Parameter:
PLC_LaunchReport |
Type: string |
Value:
'on' | 'off' |
Default:
'off' |