How to show requirements in generated code for traceability?
Mostrar comentarios más antiguos
Hello,
I have a question about simulink Requirements.
How can i show the imported requirements (from excel) in the autosar code when this code is generated?
For the traceability of the requirements, the requirements should also be found in the generateded code for autosar.
Can someone help me?
Kind regards, Rik
Respuesta aceptada
Más respuestas (1)
Arunkumar M
el 10 de Nov. de 2018
2 votos
You can use DESCRIPTION property of each block or element (right click -> Properties) What ever you type in Description field will be displayed as Comments in generated C code.
Note: In some blocks, Description property may be available in Documentation tab.

Categorías
Más información sobre Get Started with Requirements Toolbox en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!