Main Content

Link Signal Builder Blocks to Requirements and Simulink Model Objects

Link Signal Builder Blocks to Requirements Documents

You can create links from a signal group in a Signal Builder block to a requirements document:

  1. Open the model:

    sf_car
  2. 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.

  3. 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.

  4. Place your cursor in the window, right-click, and select Open Outgoing Links dialog.

    The Requirements Traceability Link Editor opens.

  5. Click New. In the Description field, enter User input requirements.

  6. 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.

  7. Browse to a requirements document and click Open.

  8. In the Location drop-down list, select Search text to link to specified text in the document.

  9. Next to the Location drop-down list, enter User Input Requirements.

  10. Click Apply to create the link.

  11. 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.

  12. 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.

Link Signal Builder Blocks to Model Objects

This example shows how to create links from a signal group in a Signal Builder block to a model object:

  1. Open the sf_car model.

  2. Open the sf_car/shift_logic chart.

  3. Right-click upshifting and select Requirements > Select for Linking with Simulink.

  4. 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.

  5. In the Signal Builder dialog box, click the Gradual Acceleration tab.

  6. 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.

  7. Place your cursor in the window, right-click, and select Open Outgoing Links dialog.

    The Requirements Traceability Link Editor opens.

  8. Click New. In the Description field, enter Upshifting.

  9. In the Document type field, select Simulink. Click Use current. The software fills in the field with the Location: (Type/Identifier) information for upshifting.

  10. Click Apply to create the link.

  11. 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.

  12. 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.

  13. Close the sf_car model.