User`s guide

2 Links Between Models and Requirements
2-24
Link Multiple Model Objects to a Requirement Document Using a Simulink
DocBlock
This example shows how to link multiple model objects to a requirement document using
a DocBlock.
You can minimize the number of links to the external requirements document by using
a DocBlock in the model. You can insert aDocBlock at the top level of the model and link
your external requirements document to it. Then you can link the DocBlock to all objects
in the model that are relevant to the requirement in the external document.
1
Open the example model:
slvnvdemo_fuelsys_officereq
2
Open a requirements document associated with that model:
rmi('view','slvnvdemo_fuelsys_officereq',1);
3
Insert a Simulink DocBlock into the model.
4
Right-click DocBlock and select Mask Parameters. The Block Parameters:
DocBlock dialog box opens.
5
In the Block Parameters: DocBlock dialog box Document type drop-down list, select
RTF.
6
Click Apply or OK to create the link.
7
In slvnvdemo_FuelSys_DesignDescription.docx, find and select the section
titled 2.2 Determination of pumping efficiency.
8
In the slvnvdemo_fuelsys_officereq model window, right-click the DocBlock
and select Requirements Traceability > Link to Selection in Word.
The RMI inserts a bookmark at that location in the requirements document.
9
In the slvnvdemo_fuelsys_officereq model window, right-click the DocBlock
and select Requirements Traceability > Select for Linking with Simulink.
10
In the slvnvdemo_fuelsys_officereq/fuel rate controller subsystem
window, select the control logic chart and the Airflow calculation
subsystems. Use the shift key to select both.
11
Right-click the Airflow calculation subsystem and select Requirements
Traceability > Add Link to Selected Object.
12
In the slvnvdemo_fuelsys_officereq model window, select DocBlock, right-
click, and select Requirements Traceability.