Navigate to Requirements from Simulink 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.
Open the example model:
openExample("slvnvdemo_fuelsys_officereq.slx")
Open the fuel rate controller subsystem.
To open the linked requirement, right-click the Airflow calculation subsystem and select Requirements > 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.
Open the example model:
openExample("slvnvdemo_fuelsys_officereq.slx")
Enable Model Highlighting in the Coverage app.
Open the fuel rate controller subsystem.
The Airflow calculation subsystem has a requirements link.
Open the Airflow calculation subsystem.
In the Simulink® toolstrip, click Library Browser.
In the Libraries tree view, select Requirements Toolbox.
This library contains only one block—the System Requirements block.
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.
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.