| Products & Services | Solutions | Academia | Support | User Community | Company |
| Download Product Updates | | | Get Pricing | | | Trial Software |
| Documentation → IEC Certification Kit |
| Contents | Index |
| Learn more about IEC Certification Kit |
| On this page… |
|---|
You can add comments to the traceability matrix that you generated using the iec.ExportTraceReport function.
To add comments to the traceability matrix, you must:
Create new columns for your comments.
Use unique column headings. All columns that you add must have headings.
Add at least one entry to the column, other than the column heading.
Retain the following columns:
Code File Name
Code Function
Requirements Source
Model Object SID
Code Comment Checksum
Note All comments must resolve to a text string. For example, a link to an image resolves to a text string, but a copy of the image does not. |
To regenerate a traceability matrix and retain your comments:
Navigate to the working folder of the model.
Optionally, regenerate code for your model. Regenerating code before generating the traceability matrix ensures that you have the latest model-to-code traceability information.
In the MATLAB Command Window, enter the following command. file_name is the name of the existing traceability matrix that you are regenerating. If the existing traceability matrix is in a different folder, include the full path to that folder in path.
iec.ExportTraceReport('model_name', 'file_name', 'path')The traceability matrix regenerates and opens.
![]() | Generating a Traceability Matrix | Function Reference | ![]() |

Learn more about Simulink through this collection of videos, articles, technical literature and the Getting Started with Simulink Guide.
| © 1984-2009- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |