Products & Services Solutions Academia Support User Community Company

Learn more about Simulink Verification and Validation   

Using the System Requirements Block in a Model

About the System Requirements Block

To list all the requirements for a model or a subsystem in a Simulink model, add the System Requirements block from the Simulink Verification and Validation library. You can place this block anywhere in a model. You cannot connect this block to other Simulink blocks.

After you place the System Requirements block in a Simulink model, the block lists the requirement links for that model or subsystem. If a model includes a System Requirements block, that block automatically updates the listing as you add, modify, or delete requirements for the model or subsystem. Requirements associated with individual blocks in the model are not listed.

Adding the System Requirements Block

To list the requirements in the Engine subsystem of the sf_car_linking model:

  1. Open the sf_car_linking model.

  2. Double-click the Engine block to open it.

  3. To open the Simulink Library Browser, click the Library Browser tool .

  4. In the left pane of the Simulink Library Browser, select Simulink Verification and Validation.

    The Simulink Verification and Validation library opens in the right pane of the Simulink Library Browser. It contains one block—System Requirements.

  5. Drag the System Requirements block to an empty space in the Engine subsystem.

    The software automatically populates the block with the system requirement for the Engine subsystem.

  6. Double-click the link to open the requirements document, requirements.docx, with the linked text highlighted.

Renaming the System Requirements Block

The list of the system requirements appears under a default heading, System Requirements. You can change the heading by renaming the System Requirements block:

  1. In the sf_car_linking/Engine subsystem, right-click the System Requirements block.

  2. Select Mask Parameters. The Block Parameters dialog box opens.

  3. In the Block Title field, type Engine Requirements and click OK.

    The block title is updated in the subsystem.

  


Related Products & Applications

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