slreq.LinkSet class
Package: 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 |
deleteAttribute | Delete custom attribute from link set |
exportToVersion | Export link set to previous MATLAB version |
find | Find links in link set with matching attribute values |
getLinks | Get links from link set |
getRegisteredReqSets | Get requirement sets registered in link set |
inspectAttribute | Get information about link set custom attribute |
redirectLinksToImportedReqs | Redirect link destination from external document to imported requirement 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 destination for direct links |
updateRegisteredReqSets | Update requirement sets registered to link set |
Examples
Version History
See Also
slreq.Link
| slreq.ReqSet
| slreq.Reference
| slreq.Requirement