Main Content

Code-to-model

Description

Include hyperlinks in the code generation report that link code to the corresponding Simulink® blocks, Stateflow® objects, and MATLAB® functions in the model diagram.

Category: Code Generation > Report

Settings

Default: Off

On

Includes hyperlinks in the code generation report that link code to corresponding Simulink blocks, Stateflow objects, and 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.

Dependencies

  • This parameter only appears for ERT-based targets.

  • This parameter requires an Embedded Coder® license when generating code.

  • This parameter is enabled by Create code generation report.

  • You must select Include comments on the Code Generation > Comments pane to use this parameter.

Command-Line Information

Parameter: IncludeHyperlinkInReport
Type: character vector
Value: 'on' | 'off
Default: 'off'

Recommended Settings

ApplicationSetting
DebuggingOn
TraceabilityOn
EfficiencyNo impact
Safety precaution

No recommendation

Related Topics