add
Class: slreq.Requirement
Namespace: slreq
Add child requirement
Syntax
reqChild = add(req)
reqChild = add(req,PropertyName,PropertyValue,...,PropertyNameN,PropertyValueN)
Description
adds a child requirement to the requirement reqChild
= add(req
)req
and returns a handle
to the child requirement.
adds a child requirement with the properties and property values specified by
reqChild
= add(req
,PropertyName
,PropertyValue
,...,PropertyNameN,PropertyValueN)PropertyName
and PropertyValue
.
Input Arguments
Output Arguments
Examples
Tips
To add a top-level requirement to a requirement set, use the
add
method ofslreq.ReqSet
. 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 R2018a