Check if the link is resolved
tf = isResolved(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 resolution status
The resolution status of the
slreq.Link object, returned as a
isResolvedDestination(myLink) ans = logical 1 isResolvedSource(myLink) ans = logical 0 isResolved(myLink) ans = logical 0