Quantcast

Documentation Center

  • Trial Software
  • Product Updates

Link Model Objects

Link Objects in the Same Model

You can create a requirements link from one model object to another model object:

  1. Right-click the link destination model object and select Requirements Traceability > Select for Linking with Simulink.

  2. Right-click the link source model object and select Requirements Traceability > Add Link to Selected Object.

  3. Right-click the link source model object again and select Requirements Traceability. The new link appears at the top of the Requirements Traceability submenu.

Link Objects in Different Models

You can create links between objects in related models. This example shows how to link model objects in slvnvdemo_powerwindow_controller and slvnvdemo_powerwindow.

  1. Open the slvnvdemo_powerwindow_controller and slvnvdemo_powerwindow models.

  2. In the slvnvdemo_powerwindow model window, double-click the power_window_control_system subsystem. The power_window_control_system subsystem opens.

  3. In the slvnvdemo_powerwindow/power_window_control_system subsystem window, right-click the control subsystem. Select Requirements Traceability > Select for Linking with Simulink.

  4. In the slvnvdemo_powerwindow_controller model window, right-click the control subsystem. Select Requirements Traceability > Add Link to Selected Object.

  5. Right-click the slvnvdemo_powerwindow_controller/control subsystem and select Requirements Traceability. The new RMI link appears at the top of the Requirements Traceability submenu.

  6. To verify that the links were created, in the slvnvdemo_powerwindow_controller model window, select Analysis > Requirements Traceability > Highlight Model.

    The blocks with requirements links are highlighted.

  7. Close the slvnvdemo_powerwindow_controller and slvnvdemo_powerwindow models.

Was this topic helpful?