You can create links from a signal group in a Signal Builder block to a requirements document:
Open the model:
sf_car
In the sf_car
model window, double-click the User
Inputs block.
The Signal Builder dialog box opens, displaying four groups of signals. The Passing Maneuver signal group is the current active group. The RMI associates any requirements links that you add to the current active signal group.
At the far-right end of the toolbar, click the Show verification
settings button
. (You might need to expand the Signal
Builder dialog box for this button to become visible.)
A Requirements pane opens on the right-hand side of the Signal Builder dialog box.
Place your cursor in the window, right-click, and select Open Outgoing Links dialog.
The Requirements Traceability Link Editor opens.
Click New. In the
Description field, enter User input
requirements
.
When you browse and select a requirements document, the RMI stores the document path as specified by the Document file reference option on the Requirements Settings dialog box, Selection Linking tab.
For information about which setting to use for your working environment, see Document Path Storage.
Browse to a requirements document and click Open.
In the Location drop-down list, select Search text to link to specified text in the document.
Next to the Location drop-down list, enter
User Input Requirements
.
Click Apply to create the link.
To verify that the RMI created the link, in the Simulink® Editor, select the User Inputs block, right-click, and select Requirements.
The link to the new requirement is the option at the top of the submenu.
Save the sf_car_linking
model.
Note
Links that you create in this way associate requirements information with individual signal groups, not with the entire Signal Builder block.
In this example, switch to a different active group in the drop-down list to link a requirement to another signal group.
This example shows how to create links from a signal group in a Signal Builder block to a model object:
Open the sf_car
model.
Open the sf_car/shift_logic
chart.
Right-click upshifting
and select Requirements > Select for Linking with Simulink.
In the sf_car
model window, double-click the
User Inputs block.
The Signal Builder dialog box opens, displaying four groups of signals. The Passing Maneuver signal group is the current active group. The RMI associates any requirements links that you add to the current active signal group.
In the Signal Builder dialog box, click the Gradual Acceleration tab.
At the far-right end of the toolbar, click the Show
verification settings button
. (You might need to expand the
Signal Builder dialog box for this button to become visible.)
A Requirements pane opens on the right-hand side of the Signal Builder dialog box.
Place your cursor in the window, right-click, and select Open Outgoing Links dialog.
The Requirements Traceability Link Editor opens.
Click New. In the
Description field, enter
Upshifting
.
In the Document type field, select
Simulink
. Click Use
current. The software fills in the field with the
Location: (Type/Identifier) information for
upshifting
.
Click Apply to create the link.
In the model window, select the User Inputs block, right-click, and select Requirements .
The link to the new requirement is the option at the top of the submenu.
To verify that the links were created, in the
sf_car
model window, in the
Apps tab, click Requirements
Manager. In the Requirements
tab, click Highlight Links to highlight the
model objects with requirements.
Note
Links that you create in this way associate requirements information with individual signal groups, not with the entire Signal Builder block.
Close the sf_car
model.