addComment
Class: slreq.Requirement
Package: slreq
Add comments to requirements
Syntax
newComment = addComment(req,myComment)
Description
adds a comment, newComment
= addComment(req
,myComment
)myComment
, to the requirement
req
.
Input Arguments
Output Arguments
Examples
Tips
To add comments to referenced requirements, use
slreq.Reference.addComment
. To add comments to justifications, useslreq.Justification.addComment
. To add comments to links, useslreq.Link.addComment
.
Alternative Functionality
App
You can also add a comment by using the Requirements Editor. Select a requirement and, in the right pane, under Comments, click Add Comment.
Version History
Introduced in R2017b