Compare Requirement Sets
To compare differences between two requirement sets, use the Compare Revisions (Simulink) tool.
Compare two Requirements Toolbox requirement sets
If you have two versions of a Requirements Toolbox™ requirement set file, you can compare differences between the two files.
Select Two requirement set Files to Compare
In the Current Folder pane of MATLAB®, or in the Project Files View of your project, select the first file for comparison.
In the Current Folder pane of MATLAB, or in the Project Files View of your project, press Ctrl, and then click the second file for comparison.
Right-click either file and select Compare Selected Files/Folders.
Select One File to Compare
In the Current Folder pane of MATLAB, right-click first file and select Compare Against > Choose.
Select the second file for comparison and select
Requirements Toolbox Comparisonas the Comparison type.
For more information, see Review Changes in Project Files.
The comparison tool shows the differences between the two requirement sets. The comparison shows which specific requirements in a requirement set changed and which fields of each requirement changed.
The comparison tool shows only changes in saved requirement 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 click Highlight Now. The requirements item from the right comparison pane opens in the Requirements Editor. If you select Always 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 compare differences with your source-controlled Requirements Toolbox files. For more information, see Use Source Control with Projects.