Check if the link destination is resolved
tf = isResolvedDestination(myLink)
A resolved link has an available source and destination. If a link source or destination is not available, the link is unresolved. For example:
A link becomes unresolved if you delete a linked block from a model.
A link is unresolved if a source or destination file, such as a Simulink® Test™ test file, is not loaded in memory.
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.
isResolvedDestination(myLink) ans = logical 1