Main Content

Link Signal Builder Blocks to Requirements and金宝appModel Objects

This example shows how to create links from a signal group in a Signal Builder block to a requirements document and to a model object.

Note

When you create links as described in this example, requirements link to individual signal groups, not with the entireSignal Builder块。

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 Requirements Documents

This example shows how to create links from a signal group in a Signal Builder block to a requirements document.

Open thesf_carmodel.

open_system("sf_car")

Set the Document File Reference Settings

  1. In theAppstab, openRequirements Manager.

  2. In theRequirementstab, ensureLayout>Requirements Browseris selected.

  3. In theRequirements Browser, in theViewdrop-down menu, selectLinks.

  4. In theRequirementstab, selectLink Settings>Default Link Storage.

  5. Next toDocument file reference, select the option from the list that suits your needs for your external requirements document. For more information, seeDocument Path Storage.

Create Links from the Signal Builder Block

In thesf_carmodel window, double-click theUser Inputs块。信号生成器对话框打开时,显示ing four groups of signals. The Passing Maneuver signal group is the current active group. The requirements link to the current active signal group.

At the far-right end of the toolbar, click theShow verification settingsbutton. Ensure that theRequirements displaybuttonis selected. TheRequirementspane opens on the right-hand side of the Signal Builder dialog box.

Create the link to this signal group by using the Outgoing Links dialog.

  1. In the Signal Builder window, in theRequirementspane, right-click and selectOpen Outgoing Links dialog.The Outgoing Links dialog opens.

  2. ClickNew. In theDescriptionfield, enterUser input requirements.

  3. ClickBrowseand select your external requirements document, then clickOpen.

  4. In theLocationdrop-down list, selectSearch textto link to specified text in the document.

  5. Next to theLocationdrop-down list, enterUser Input Requirementsto create a link to that specified text in the requirements document.

  6. ClickApplyto create the link.

  7. To verify that the link was created, in thesf_carmodel, select the User Inputs block, right-click, and selectRequirements.The link to the new requirement is the option at the top of the submenu.

Clear the open requirement sets and link sets and close the model.

slreq.clear; bdcloseall;

LinkSignal BuilderBlocks to Model Objects

This example shows how to create links from a signal group in aSignal Builderblock to a model object:

  1. Open thesf_carmodel.

    openExample("slrequirements/LinkSignalBuilderBlocksExample") open_system("sf_car")
  2. Open thesf_car/shift_logicchart.

  3. Right-clickupshiftingand selectRequirements>Select for Linking with Simulink.

  4. In thesf_car模式窗口中,双击用户输入块。

    信号生成器对话框打开时,显示ing 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 window, in theActive Grouplist, selectGradual Acceleration.

  6. At the far-right end of the toolbar, click theShow verification settingsbutton. Ensure that theRequirements displaybuttonis selected.

    ARequirementspane opens on the right-hand side of the Signal Builder dialog box.

  7. Place your cursor in the window, right-click, and selectOpen Outgoing Links dialog. The Outgoing Links dialog opens.

  8. ClickNew. In theDescriptionfield, enterUpshifting.

  9. In theDocument typefield, select金宝app. ClickUse current. The software fills in the field with theLocation: (Type/Identifier)information forupshifting.

  10. ClickApplyto create the link.

  11. In the model window, select the User Inputs block, right-click, and selectRequirements.

    The link to the new requirement is the option at the top of the submenu.

  12. To verify that the links were created, in thesf_carmodel window, in theAppstab, clickRequirements Manager. In theRequirementstab, clickHighlight Linksto highlight the model objects with requirements.

    Note

    Links that you create in this way associate requirements information with individual signal groups, not with the entireSignal Builder块。

  13. Close thesf_carmodel.

Related Topics