addComment
Class: slreq.Reference
Namespace: slreq
Add comments to referenced requirements
Syntax
newComment = addComment(ref,myComment)
Description
adds a comment, newComment = addComment(ref,myComment)myComment, to the referenced requirement
ref.
Input Arguments
Output Arguments
Examples
Tips
To add comments to requirements, use the
addCommentmethod ofslreq.Requirement. 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 referenced requirement and, in the right pane, under Comments, click Add Comment.
Version History
Introduced in R2018b