add
Class: slreq.Requirement
Package: 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
slreq.ReqSet.add
. To add a referenced requirement as a child of another referenced requirement, useslreq.Reference.add
. To add a justification as a child of another justification, useslreq.Justification.add
.
Version History
Introduced in R2018a