Traceability in Autocode generated using simulink\embedded coder

2 次查看(过去 30 天)
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 个评论
Hailin Ren
Hailin Ren 2020-12-9
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!

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Simulink Coder 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by