Viewing Objects with Requirement Links

After you have added requirements to blocks in a model, you can change the view in the Model Explorer window to show only objects that have requirements associated with them. In Adding Requirement Links to an Object and Adding Requirement Links to Multiple Objects Simultaneously, you add requirements to the Engine, Engine RPM, and transmission blocks in the model you save as my_sf_car. Use the following procedure to highlight these objects in the Model Explorer and Simulink model window:

  1. Open the model my_sf_car.

  2. From the Simulink View menu, select Model Explorer.

  3. The model and its elements appear in the Model Explorer window as shown.

  4. In the Model Explorer toolbar, select the Display Objects with Linked Requirements tool .

  5. To see all objects, click the Display Objects with Linked Requirements tool again to deselect it.

You can also highlight blocks of a Simulink model with associated requirements in a Simulink model window as follows:

  1. In the Model Explorer toolbar, select the Highlight Items with Requirements in Model tool .

  2. To drop the highlighting, click the Highlight Items with Requirements in Model tool again to deselect it.

  


 © 1984-2008- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS