Main Content

getLinksWithChangedDestination

Class: slreq.LinkSet
Namespace: slreq

Get links with destination item changes

Since R2022b

Description

changedLinks = getLinksWithChangedDestination(myLinkSet) returns the links in the link set specified by myLinkSet that have destination item changes. For more information on link sources and destinations, see Link Objects, Sources, and Destinations.

example

Input Arguments

expand all

Link set, specified as an slreq.LinkSet object.

Output Arguments

expand all

Links with destination changes, returned as an array of slreq.Link objects.

Examples

expand all

This example shows how to get links with source and destination changes in a link set.

Open the project.

openProject("ShortestPathChangesExample");

Load the link set file.

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

Get links with source changes.

sourceChanges = getLinksWithChangedSource(myLinkSet);

Get links with destination changes.

destChanges = getLinksWithChangedDestination(myLinkSet);

Version History

Introduced in R2022b