addComment
Class: slreq.Requirement
Namespace: 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 the
addCommentmethod ofslreq.Reference. To add comments to justifications, use theaddCommentmethod ofslreq.Justification. To add comments to links, use theaddCommentmethod ofslreq.Link.
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