Model-to-code

Description

Link Simulink® blocks, Stateflow® objects, and 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.

Category: Code Generation > Report

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 MATLAB script in the code generation report, right-click the item and select C/C++ Code > Navigate to C/C++ Code.

Off

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

Dependencies

Command-Line Information

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

Recommended Settings

ApplicationSetting
DebuggingOn
TraceabilityOn
EfficiencyNo impact
Safety precaution

No recommendation

Related Topics