Main Content
addComment
Class: slreq.Justification
Namespace: slreq
Add comments to justifications
Syntax
newComment = addComment(jt,myComment)
Description
adds a comment, newComment
= addComment(jt
,myComment
)myComment
, to the justification
jt
.
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 links, use theaddComment
method ofslreq.Link
.
Alternative Functionality
App
You can also add a comment by using the Requirements Editor. Select a justification and, in the right pane, under Comments, click Add Comment.
Version History
Introduced in R2018b