slreq.LinkSet Class
Namespace: slreq
Work with link sets
Description
Instances of slreq.LinkSet
are Link Set objects. Links are
organized in link sets. Each link set is associated with a source artifact such as a
Simulink® model or a data dictionary and is serialized into a separate file which
stores the links associated with it. The default location and name of the link set file
matches that of the source artifact.
Creation
finds and returns an array of loaded allLinkSets
= slreq.find('Type'
, 'LinkSet'
)slreq.LinkSet
objects
allLinkSets
.
finds and returns an myLinkSet
= slreq.find('Type'
, 'LinkSet'
, 'Name'
, ArtifactName
)slreq.LinkSet
object
myLinkSet
matching the artifact name specified by
ArtifactName
.
loads an myLinkSet
= slreq.load(ArtifactName
)slreq.LinkSet
object myLinkSet
matching
the artifact name specified by ArtifactName
.
Input Arguments
Output Arguments
Properties
Methods
addAttribute | Add custom attribute to link set |
clearChangeIssues | Clear link set change issues |
createTextRange | Create line ranges |
deleteAttribute | Delete custom attribute from link set |
deleteOrphanLinks | Delete links with invalid source |
exportToVersion | Export link set to previous MATLAB version |
find | Find links in link set with matching attribute values |
getBrokenLinks | Get links with invalid destination |
getLinks | Get links from link set |
getLinksWithChangedDestination | Get links with destination item changes |
getLinksWithChangedSource | Get links with source item changes |
getOrphanLinks | Get links with invalid source |
getRegisteredReqSets | Get requirement sets registered in link set |
getTextRange | Get line ranges |
getTextRanges | Get lines ranges that span multiple lines |
importProfile | Assign profile to ink set |
inspectAttribute | Get information about link set custom attribute |
profiles | Get profiles assigned to link set |
redirectLinksToImportedReqs | Redirect link destination from external document to imported requirement set |
removeProfile | Remove profile from link set |
save | Save link set |
sources | Get link sources |
updateAttribute | Update information for link set custom attribute |
updateBacklinks | Synchronize external navigation links |
updateDocUri | Update link destinations for renamed or moved document |
updateRegisteredReqSets | Update requirement sets registered to link set |
Examples
Version History
Introduced in R2018a
See Also
slreq.Link
| slreq.ReqSet
| slreq.Reference
| slreq.Requirement