Real-Time Workshop Pane: Report

Report Tab Overview

Control the Code Generation report that the Real-Time Workshop software automatically creates.

Configuration

To create a Code Generation report during the build process, select the Create code generation report parameter.

See Also

Generate HTML Report

If you have a Real-Time Workshop Embedded Coder license, see also Creating and Using a Code Generation Report.

Create code generation report

Document generated code in an HTML report.

Settings

Default: Off

On

Generates a summary of code generation source files in an HTML report. Places the report files in an html subdirectory within the build directory. In the report,

In the Generated Source Files section of the Contents pane, you can click the names of source code files generated from your model to view their contents in a MATLAB Web browser window. In the displayed source code,

Off

Does not generate a summary of files.

Dependency

This parameter enables and selects

This parameter enables

.

Command-Line Information

Parameter: GenerateReport
Type: string
Value: 'on' | 'off'
Default: 'off'

Recommended Settings

ApplicationSetting
DebuggingOn
TraceabilityOn
EfficiencyNo impact
Safety precautionOn

See Also

Generate HTML Report

If you have a Real-Time Workshop Embedded Coder license, see also Creating and Using a Code Generation Report.

Launch report automatically

Specify whether to display Code Generation reports automatically.

Settings

Default: Off
On

Displays the Code Generation report automatically in a new browser window.

Off

Does not display the Code Generation report, but the report is still available in the html directory.

Dependency

This parameter is enabled and selected by Create code generation report.

Command-Line Information

Parameter: LaunchReport
Type: string
Value: 'on' | 'off'
Default: 'off'

Recommended Settings

ApplicationSetting
DebuggingOn
TraceabilityOn
EfficiencyNo impact
Safety precautionNo impact

See Also

Generate HTML Report

If you have a Real-Time Workshop Embedded Coder license, see also Creating and Using a Code Generation Report.

Code-to-model

Include hyperlinks in a Code Generation report that link code to the corresponding Simulink blocks, Stateflow objects, and Embedded MATLAB functions in the model diagram.

Settings

Default: Off

On

Includes hyperlinks in the Code Generation report that link code to corresponding Simulink blocks, Stateflow objects, and Embedded MATLAB functions in the model diagram. The hyperlinks provide traceability for validating generated code against the source model.

Off

Omits hyperlinks from the generated report.

Tip

Clear this parameter to speed up code generation. For large models (containing over 1000 blocks), generation of hyperlinks can be time consuming.

Dependencies

Command-Line Information

Parameter: IncludeHyperlinkInReport
Type: string
Value: 'on' | 'off
Default: 'off'

Recommended Settings

ApplicationSetting
DebuggingOn
TraceabilityOn
EfficiencyNo impact
Safety precautionOn

See Also

Creating and Using a Code Generation Report.

Model-to-code

Links Simulink blocks, Stateflow objects, and Embedded 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.

Settings

Default: Off

On

Includes model-to-code highlighting support in the Code Generation report. To highlight the generated code for a Simulink block, Stateflow object, or Embedded MATLAB script in the Code Generation report, right-click the item and select Real-Time Workshop > Navigate to Code.

Off

Omits model-to-code highlighting support from the generated report.

Tip

Clear this parameter to speed up code generation. For large models (containing over 1000 blocks), generation of model-to-code highlighting support can be time consuming.

Dependencies

Command-Line Information

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

Recommended Settings

ApplicationSetting
DebuggingOn
TraceabilityOn
EfficiencyNo impact
Safety precautionOn

See Also

Creating and Using a Code Generation Report.

Configure

Use the Configure button to open the Model-to-code navigation dialog box. This dialog box provides a way for you to specify a build directory containing previously-generated model code to highlight. Applying your build directory selection will attempt to load traceability information from the earlier build, for which Model-to-code must have been selected.

Dependency

See Also

Creating and Using a Code Generation Report.

Eliminated / virtual blocks

Include summary of eliminated and virtual blocks in Code Generation report.

Settings

Default: Off

On

Includes a summary of eliminated and virtual blocks in the Code Generation report.

Off

Does not include a summary of eliminated and virtual blocks.

Dependencies

Command-Line Information

Parameter: GenerateTraceReport
Type: string
Value: 'on' | 'off'
Default: 'off'

Recommended Settings

ApplicationSetting
DebuggingOn
TraceabilityOn
EfficiencyNo impact
Safety precautionOn

See Also

Creating and Using a Code Generation Report.

Traceable Simulink blocks

Include summary of Simulink blocks in Code Generation report.

Settings

Default: Off

On

Includes a summary of Simulink blocks and the corresponding code location in the Code Generation report.

Off

Does not include a summary of Simulink blocks.

Dependencies

Command-Line Information

Parameter: GenerateTraceReportSl
Type: string
Value: 'on' | 'off'
Default: 'off'

Recommended Settings

ApplicationSetting
DebuggingOn
TraceabilityOn
EfficiencyNo impact
Safety precautionOn

See Also

Creating and Using a Code Generation Report.

Traceable Stateflow objects

Include summary of Stateflow objects in Code Generation report.

Settings

Default: Off

On

Includes a summary of Stateflow objects and the corresponding code location in the Code Generation report.

Off

Does not include a summary of Stateflow objects.

Dependencies

Command-Line Information

Parameter: GenerateTraceReportSf
Type: string
Value: 'on' | 'off'
Default: 'off'

Recommended Settings

ApplicationSetting
DebuggingOn
TraceabilityOn
EfficiencyNo impact
Safety precautionOn

See Also

Creating and Using a Code Generation Report.

Traceability of Stateflow Objects in Generated Code.

Traceable Embedded MATLAB functions

Include summary of Embedded MATLAB functions in Code Generation report.

Settings

Default: Off

On

Includes a summary of Embedded MATLAB functions and corresponding code locations in the Code Generation report.

Off

Does not include a summary of Embedded MATLAB functions.

Dependencies

Command-Line Information

Parameter: GenerateTraceReportEml
Type: string
Value: 'on' | 'off'
Default: 'off'

Recommended Settings

ApplicationSetting
DebuggingOn
TraceabilityOn
EfficiencyNo impact
Safety precautionOn

See Also

Creating and Using a Code Generation Report.

  


 © 1984-2008- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS