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