Main Content

Code-to-model

Description

包括超链接代码生成报告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 byCreate code generation report.

  • You must selectInclude commentson theCode Generation>Commentspane to use this parameter.

Command-Line Information

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

Recommended Settings

Application Setting
Debugging On
Traceability On
Efficiency No impact
Safety precaution

No recommendation

Related Topics