You can create requirements traceability links for entries in Simulink® data dictionaries. The process is similar to linking for other model objects. In the Model Explorer, right-click a data dictionary entry, select Requirements, and choose one of the selection-based linking options. You can also use the Link Editor.
This example demonstrates linking to a data dictionary entry.
Enter sldemo_fuelsys_dd_controller
at the command line to
open sldemo_fuelsys_dd_controller
.
Open the linked data dictionary. Click the model data badge in the bottom left corner of the model, then click the External Data link.
In the Model Hierarchy pane of the Model Explorer, under
the External Data node, expand the
sldemo_fuelsys_dd_controller
data dictionary node.
Select Design Data.
You will link the PumpCon
parameter to the Pumping
Constant
lookup table in the model.
Open the airflow_calc
subsystem and select the
Pumping Constant
lookup table.
In the Model Explorer, right-click the PumpCon
parameter
and select Requirements > Link to
Selection in Simulink.
The two objects are linked.
Check the link. Right-click the PumpCon
parameter and
select Requirements, then select the navigation
shortcut at the top of the Requirements submenu.
Simulink highlights the lookup table.