customize traceability reports
even a relatively small model can generate hundreds of lines of c/c code. to help you navigate more easily between the generated code and your source model, embedded coder® provides the traceability report section. when you enable traceability, embedded coder display the generated code in code view or code generation report. you can generate reports in the configuration parameters dialog box or at the command line.
in the configuration parameters dialog box, the code generation > report pane lists parameters that you can select and clear to customize the content of your traceability reports.
select or clear any combination of these parameters. these parameters are on by default.
(account for blocks that are untraceable)
if you select all parameters, you get a complete mapping between model elements and the generated code.
this figure shows the top section of the traceability report, which is generated when you
select all traceability content parameters for model
.
the generate traceability matrix button appears only if you have
do qualification kit or iec certification kit and are using a windows® host.
generate a traceability matrix
the traceability matrix provides traceability among model elements, generated code, and model requirements in a microsoft® excel® file format.
if you have do qualification kit software or iec certification kit software and are using a windows host, you can generate a traceability matrix into microsoft excel format directly from the traceability report.
go to the traceability report section of the html code generation report and click generate traceability matrix.
to select an existing matrix file to update or specify a matrix file to create, use the options in the generate traceability matrix dialog box. optionally, you can select and create an order to the columns that appear in the generated matrix. after specifying the location where you want the matrix file, click the generate button.
for more information, see "generating a traceability matrix" in either the (do qualification kit).