isResolved
Class: slreq.Link
Namespace: slreq
Check if the link is resolved
Syntax
tf = isResolved(myLink)
Description
checks if the link tf
= isResolved(myLink
)myLink
is resolved.
An unresolved link has a source item or destination item that is not available. Items can be unavailable because:
The artifact that contains the source or destination item is not loaded.
For example, loading a requirement set that has incoming links from a Simulink® model 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.
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.
Input Arguments
Output Arguments
Examples
Check if Link is Resolved
isResolvedDestination(myLink) ans = logical 1 isResolvedSource(myLink) ans = logical 0 isResolved(myLink) ans = logical 0
Tips
To check if the link source is resolved, use
isResolvedSource
.To check if the link destination is resolved, use
isResolvedDestination
.
Version History
Introduced in R2019a