Navigate to Requirements from Model

Navigate from Model Object

You can navigate directly from a model object to that object's associated requirement. When you take these steps, the external requirements document opens in the application, with the requirements text highlighted.

  1. Open the example model:

    slvnvdemo_fuelsys_officereqslvnvdemo_fuelsys_officereq
  2. Open the fuel rate controller subsystem.

  3. To open the linked requirement, right-click the Airflow calculation subsystem and select Requirements Traceability > 1. "Mass airflow estimation".

    The Microsoft® Word document slvnvdemo_FuelSys_DesignDescription.docx, opens with the section 2.1 Mass airflow estimation selected.

    Note:   If you are running a 64-bit version of MATLAB®, when you navigate to a requirement in a PDF file, the file opens at the top of the page, not at the bookmark location.

Navigate from System Requirements Block

Sometimes you want to see all the requirements links at a given level of the model hierarchy. In such cases, you can insert a System Requirements block to collect all requirements links in a model or subsystem. The System Requirements block lists requirements links for the model or subsystem in which it resides; it does not list requirements links for model objects inside that model or subsystem, because those are at a different level of the model hierarchy.

In the following example, you insert a System Requirements block at the top level of the slvnvdemo_fuelsys_officereq model, and navigate to the requirements using the links inside the block.

  1. Open the example model:

    slvnvdemo_fuelsys_officereqslvnvdemo_fuelsys_officereq
  2. In the Simulink® Editor, select Analysis > Requirements Traceability > Highlight Model.

  3. Open the fuel rate controller subsystem.

    The Airflow calculation subsystem has a requirements link.

  4. Open the Airflow calculation subsystem.

  5. In the Simulink Editor, select View > Library Browser.

  6. On the Libraries pane, select Simulink Verification and Validation.

    This library contains only one block—the System Requirements block.

  7. Drag a System Requirements block into the Airflow calculation subsystem.

    The RMI software collects and displays any requirements links for that subsystem in the System Requirements block.

  8. In the System Requirements block, double-click 1. "Mass airflow subsystem".

    The Microsoft Word document, slvnvdemo_FuelSys_DesignDescription.docx, opens, with the section 2.1 Mass airflow estimation selected.

Was this topic helpful?