Link Simulink Data Dictionary Entries to Requirements

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.

  1. Enter sldemo_fuelsys_dd_controller at the command line to open sldemo_fuelsys_dd_controller.

  2. Open the linked data dictionary. Click the model data badge in the bottom left corner of the model, then click the External Data link.

  3. In the Model Hierarchy pane of the Model Explorer, under the External Data node, expand the sldemo_fuelsys_dd_controller data dictionary node.

  4. Select Design Data.

  5. You will link the PumpCon parameter to the Pumping Constant lookup table in the model.

  6. Open the airflow_calc subsystem and select the Pumping Constant lookup table.

  7. In the Model Explorer, right-click the PumpCon parameter and select Requirements > Link to Selection in Simulink.

    The two objects are linked.

  8. 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.