Check if the link destination is resolved
tf = isResolvedDestination(myLink)
An unresolved link has a source item or destination item that is not available. The source or destination items can be unavailable because:
The artifact that contains the source or destination item is not loaded.
For example, if you load a requirement set that has incoming links from a Simulink® model, this also loads the link set that belongs to the model. However, if you do not load the Simulink model, the links are unresolved.
The artifact is loaded, but the specified ID does not exist. Links with invalid IDs are called broken links.
For example, if you delete a linked requirement, the link becomes unresolved because the stored ID no longer corresponds to a valid item.
For more information, see Load and Resolve Links.
myLink — Link object
Handle to a link, specified as an
tf — Link destination resolution status
The destination resolution status of the
returned as a Boolean.
Check if Link Destination is Resolved
isResolvedDestination(myLink) ans = logical 1
Introduced in R2019a