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")Add the Requirements Manager options to the context menu. Right-click the model canvas, point to Select Apps, and select the Requirements Manager button
.Open the
fuel rate controllersubsystem.To open the linked requirement, right-click the
Airflow calculationsubsystem and, in the Requirements Manager app section
, select Implement: "Mass
airflow estimation".The Microsoft® Word document
slvnvdemo_FuelSys_DesignDescription.docxopens 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")In the Apps tab, in the Model Verification, Validation, and Test section, click Requirements Manager. In the Requirements tab, click Highlight Links.
Open the
fuel rate controllersubsystem.The
Airflow calculationsubsystem has a requirements link.Open the
Airflow calculationsubsystem.In the Simulink® toolstrip, click Library Browser.
In the Libraries tree view, select Requirements Toolbox.
Drag a System Requirements block into the
Airflow calculationsubsystem.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.