Main Content

clearChangeIssues

Class: slreq.LinkSet
Namespace: slreq

Clear link set change issues

Since R2022b

Description

clearChangeIssues(myLinkSet) clears change issues for the link set specified by myLinkSet.

example

clearChangeIssues(___,Name=Value) specifies options using one or more name-value arguments in addition to the input arguments in previous syntaxes.

example

Input Arguments

expand all

Link set for which to clear change issues, specified as an slreq.LinkSet object.

Name-Value Arguments

Specify optional pairs of arguments as Name1=Value1,...,NameN=ValueN, where Name is the argument name and Value is the corresponding value. Name-value arguments must appear after other arguments, but the order of the pairs does not matter.

Example: target="All"

Comment, specified as a string scalar or character vector. Use comments to record information about the cleared change issues.

Example: comment="clearing destination change issues"

Data Types: char | string

Location of link items for which to clear change issues, specified as "All", "Destination", or "Source".

Example: target="Source"

Data Types: char | string

Examples

expand all

This example shows how to clear change issues for a link set.

Open the project.

openProject("ShortestPathChangesExample");

Load the link set file and get the change information for the link set.

myLinkSet = slreq.load("shortest_path.slmx");
slreq.getChangeInformation(myLinkSet);

Clear the change issues in myLinkSet.

clearChangeIssues(myLinkSet);

This example shows how to clear destination change issues for a link set.

Open the project.

openProject("ShortestPathChangesExample");

Load the link set file and get the change information for the link set.

myLinkSet = slreq.load("shortest_path.slmx");
slreq.getChangeInformation(myLinkSet);

Clear the destination change issues in myLinkSet.

clearChangeIssues(myLinkSet,target="Destination");

Version History

Introduced in R2022b