Main Content
slreq.ReqSet Class
Namespace: slreq
Work with requirement sets
Description
Instances of slreq.ReqSet
are requirement set objects.
Creation
creates a requirement set named newReqSet
= slreq.new(reqSetName
)reqSetName
in the current working
folder.
creates a requirement set on the specified path.newReqSet
= slreq.new(reqSetPath
)
Input Arguments
Output Arguments
Properties
Methods
add | Add requirements to requirement set |
addAttribute | Add custom attribute to requirement set |
addJustification | Add justifications to requirement set |
children | Get top-level items in requirement set |
close | Close requirement sets |
createReferences | Create read-only references to requirement items in third-party documents |
deleteAttribute | Delete custom attribute from requirement set |
discard | Close requirement set without saving |
explore | Open requirement set in Requirements Editor |
exportToVersion | Export requirement set to previous MATLAB version |
find | Find requirements in requirement set that have matching attribute values |
getImplementationStatus | Query requirement set implementation status summary |
getPostLoadFcn | Get contents of PostLoadFcn callback |
getPreSaveFcn | Get contents of PreSaveFcn callback |
getVerificationStatus | Query requirement set verification status summary |
importFromDocument | Import editable requirements from external documents |
importProfile | Assign profile to requirement set |
inspectAttribute | Get information about requirement set custom attribute |
profiles | Get profiles assigned to requirement sets |
removeProfile | Remove profile from requirement set |
runTests | Run test cases linked to requirement set |
save | Save requirement sets |
saveProfileMapping | Save profile mapping to XML file |
setPostLoadFcn | Assign PostLoadFcn callback script |
setPreSaveFcn | Assign PreSaveFcn callback script |
updateAttribute | Update information for requirement set custom attribute |
updateImplementationStatus | Update requirement set implementation status summary |
updateReferences | Update referenced requirements in requirement set |
updateSrcArtifactUri | Update document resource identifier of imported requirements |
updateSrcFileLocation | Update document location of imported requirements |
updateVerificationStatus | Update requirement set verification status summary |
Examples
Version History
Introduced in R2018a
See Also
slreq.Requirement
| slreq.Reference
| slreq.LinkSet
| slreq.Link