Main Content

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.clearChangeIssuesClear change issues for requirement links (Since R2023b)
slreq.getChangeInformationRetrieve change information for requirement links (Since R2023b)
getLinksWithChangedDestinationGet 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.LinkTraceable link

Methods

expand all

clearChangeIssuesClear link set change issues
getLinksWithChangedDestinationGet links with destination item changes
getLinksWithChangedSource Get links with source item changes
clearChangeIssuesClear link change issue
getChangeInformationGet link change information
hasChangedDestination Determine if link destination has changes
hasChangedSource Determine if link source has changes

Objects

ChangeInformationChange information for requirement links (Since R2023b)

Topics

Track Changes

Compare and Merge Changes

Featured Examples