Traceability in Autocode generated using simulink\embedded coder

When autocode is generated using Embedded\Simulink coder and if tracebility settings are enebled we see comments in the generated code referencing the simulink object which was responsible to generate the line of code.
Is there a way (ex. traceability .mat file\hhtml file\any report) we can programatically find which line of code was generated because of which simlink block?

1 Comment

Hi Darshan,
The Code Generation Report includes Traceability Report. In the Traceability Report, you can generate Traceability Matrix, which provides traceability among model objects, generated code, and model requirements in an excel file format. More details can be found in Customize Traceability Reports - MATLAB & Simulink (mathworks.com)
Have a great day!

Sign in to comment.

Answers (0)

Categories

Find more on Simulink Coder in Help Center and File Exchange

Asked:

on 2 Dec 2020

Commented:

on 9 Dec 2020

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!