Main Content

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. Open the example_sldemo_fuelsys_dd_controller model. At the MATLAB® command line, enter:


  2. In the example_sldemo_fuelsys_dd_controller model, 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. Locate the PumpCon parameter.

  6. In the example_sldemo_fuelsys_dd_controller model, 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 to create a link between the two items.

  8. Check the link by right-clicking the PumpCon parameter and selecting Requirements, then select the navigation shortcut at the top of the Requirements submenu. Simulink highlights the lookup table.