Highlight Model Objects with Requirements

You can highlight a model to see which objects in the model have links to requirements in external documents. You highlight a model from the Model Editor or from the Model Explorer.

Highlight Model Objects with Requirements Using Model Editor

If you are working in the Simulink® Editor and want to see which model objects in the slvnvdemo_fuelsys_officereq model have requirements, follow these steps:

  1. Open the example model:

    slvnvdemo_fuelsys_officereqslvnvdemo_fuelsys_officereq
  2. Select Analysis > Requirements Traceability > Highlight Model.

    Two types of highlighting indicate model objects with requirements:

    • Yellow highlighting indicates objects that have requirements links for the object itself.

    • Orange outline indicates objects, such as subsystems, whose child objects have requirements links.

    Objects that do not have requirements are colored gray.

  3. To remove the highlighting from the model, select Analysis > Requirements Traceability > Unhighlight Model. Alternatively, you can right-click anywhere in the model, and select Remove Highlighting.

While a model is highlighted, you can still manage the model and its contents.

Highlight Model Objects with Requirements Using Model Explorer

If you are working in Model Explorer and want to see which model objects have requirements, follow these steps:

  1. Open the example model:

    slvnvdemo_fuelsys_officereqslvnvdemo_fuelsys_officereq
  2. Select View > Model Explorer.

  3. To highlight all model objects with requirements, click the Highlight items with requirements on model icon ( ).

    The Simulink Editor window opens, and all objects in the model with requirements are highlighted.

    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.

Was this topic helpful?