Compare and Merge Requirements and Links
Track, compare, and merge changes to requirements and links in MATLAB® or using third-party source control management tools
Track changes to requirement links when you change requirements, Simulink® tests, or MATLAB code files.
Compare and merge different versions of requirement and link set files using third-party source control management tools like Git™.
Functions
| slreq.clearChangeIssues | Clear change issues for requirement links (Since R2023b) | 
| slreq.getChangeInformation | Retrieve change information for requirement links (Since R2023b) | 
| getLinksWithChangedDestination | Get links with destination item changes (Since R2022b) | 
| getLinksWithChangedSource | Get links with source item changes (Since R2022b) | 
| hasChangedDestination | Determine if link destination has changes (Since R2022b) | 
| hasChangedSource | Determine if link source has changes (Since R2022b) | 
Classes
| slreq.LinkSet | Work with link sets | 
| slreq.Link | Traceable link | 
Methods
Objects
| ChangeInformation | Change information for requirement links (Since R2023b) | 
Topics
Track Changes
- Track Changes to Requirement Links
 Track and resolve changes to requirement links, and provide comments for other reviewers.
- Track Changes to Test Cases in Requirements Editor
 Track changes to test cases linked to requirements by using the Requirements Editor.
Compare and Merge Changes
- Compare Requirement Sets
 Compare two requirement sets side-by-side.
- Compare Link Sets
 Compare link sets.
- Using Three-Way Merge Tool for Requirement and Link Set Files
 Review and merge changes in requirement and link set files and display the results in the Comparison Tool. 
- Create and Save Printable Reports of Comparison Results
 Create and save a printable report of the comparison results for requirements and link set files.



