Main Content

Code Tracing

Trace between generated code and corresponding blocks in a model

Code tracing enables easy navigation between a line of generated code and its corresponding elements in a model for code verification. To verify your generated code:

  • Trace between generated code and model elements by using these types of navigation:

    • Code-to-model: Trace code to model elements by using hyperlinks in the code generation report.

    • Model-to-code: Trace model elements back to corresponding lines of the generated code.

Topics