Main Content

Compare Requirements Sets

To compare differences between two requirements sets, use theCompare Revisions工具。

Compare Two.slreqx金宝appRequirements Sets

If you have two versions of a.slreqx金宝app®requirements set file, use the SimulinkCompare Revisionstool to find any differences between the two files.

Select Two Requirements Set Files to Compare

  1. In theCurrent Folderpane of MATLAB®, or in theProject Files Viewof your project, select the first file for comparison.

  2. In theCurrent Folderpane of MATLAB, or in theProject Files Viewof your project, pressCtrl, and then click the second file for comparison.

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

Select One File to Compare

  1. In theCurrent Folderpane of MATLAB, right-click first file and selectCompare Against>Choose.

  2. Select the second file for comparison and selectSimulink Requirements™Comparisonas theComparison type.

仿真软件金宝app的压缩空气rison tool shows the differences between the two.slreqxrequirements sets. The comparison shows which specific requirements in a requirement set changed and which fields of each requirement changed.

Note

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

To view a requirements item in the Requirements Editor, highlight the requirements item and clickHighlight Now. The requirements item from the right comparison pane opens in the Requirements Editor. If you selectAlways Highlight, the Requirements Editor opens to the selected requirements item whenever you click one.

Review Changes in Source-Controlled Files

If you use a separate change management tool to manage changes to your projects, you can use the Simulink comparison tool with your source-controlledSimulink Requirementsfiles. For more information, seeCompare Revisions.