add
Class: slreq.ReqSet
Namespace: slreq
Add requirements to requirement set
Syntax
req = add(rs)
req = add(rs,"Artifact",artifactName)
req = add(___,reqProperty,value,...,refPropertyN,valueN)
Description
adds a
requirement to the requirement set req
= add(rs
)rs
and returns a handle to the
requirement.
adds a referenced requirement associated with the external requirements document,
req
= add(rs
,"Artifact",artifactName
)artifactName
.
adds a requirement or a referenced requirement to the requirement set with properties and
property values specified by req
= add(___,reqProperty
,value
,...,refPropertyN,valueN)reqProperty
and value
,
respectively.
Input Arguments
Output Arguments
Examples
Tips
To add a requirement as a child of another requirement, use the
add
method ofslreq.Requirement
. To add a referenced requirement as a child of another referenced requirement, use theadd
method ofslreq.Reference
. To add a justification as a child of another justification, use theadd
method ofslreq.Justification
.
Version History
Introduced in R2017b