|On this page…|
You can create, edit, and delete requirements traceability links using the Link Editor. To open the Link Editor:
in the Simulink® Editor, right-click on a model object that has a requirements traceability link. From the context menu, select Requirements Traceability > Open Link Editor.
in the MATLAB® Editor, right-click inside a region of code that has a requirements traceability link. From the context menu, select Requirements Traceability > Open Link Editor.
The Link Editor opens, as shown below.
In the Link Editor, you can:
Create requirements links from one or more Simulink model objects or MATLAB code lines.
Customize information about requirements links, including specifying user tags to filter requirements highlighting and reporting.
Delete existing requirements links.
Modify the stored order of requirements to control the order of labels in context menus for linked objects.
On the Requirements tab, you specify detailed information about the link, including:
Description of the requirement (up to 255 words). If you create a link using the document index, unless a description already exists, the name of the index location becomes the description for the link .
Path name to the requirements document.
Document type (Microsoft® Word, Microsoft Excel®, IBM® Rational® DOORS®, MuPAD®, HTML, text file, etc.).
Location of the requirement (search text, named location, or page or item number).
User-specified tag or keyword.
The Document Index tab is available only if you have specified a file in the Document field on the Requirements tab that supports indexing. On the Document Index tab, the RMI generates a list of locations in the specified requirements document for the following types of requirements documents:
IBM Rational DOORS
From the document index, select the desired requirement from the document index and click OK. Unless a description already exists, the name of the index location becomes the description for the link.
If you make any changes to your requirements document, to load any newly created locations into the document index, you must click Refresh. During a MATLAB session, the RMI does not reload the document index unless you click the Refresh button.