Main Content

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 displays the generated code in Code view or the 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.

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 the RollAxisAutopilot. The Generate Traceability Matrix button appears only if you have DO Qualification Kit or IEC Certification Kit and are using a Windows® host.

Traceability report for the model RollAxisAutopilot.

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 documentation (DO Qualification Kit).

Related Topics