Main Content

Compare Link Sets

If you have two versions of a Requirements Toolbox™ link set file, you can compare the differences between the two files.

Select Two Link Set Files to Compare

  1. In the Files panel of MATLAB®, or in the Project panel, select the first file for comparison.

  2. In the Files panel of MATLAB, or in the Project panel, press Ctrl, and then click the second file for comparison.

  3. Right-click either file and select Compare Selected Files/Folders.

Select One File to Compare

  1. In the Files panel of MATLAB, right-click the first file and select Compare To > Choose.

  2. Select the second file for comparison and select Requirements Toolbox Comparison as the Comparison type.

For more information, see Review Modified Project Files.

The comparison tool shows the differences between the two .slmx link set files. The comparison shows which specific links in a link set changed and which fields of each link changed.

Note

The comparison tool shows only changes in saved .slmx link sets. Changes that have occurred in memory but are not yet saved to file are not shown.

To view a link in the Links View of the Requirements Editor, highlight the link and click Highlight Now. The link from the right comparison pane opens in the Links View of the Requirements Editor. If you select Always Highlight, the Requirements Editor opens to the selected link item whenever you click one.