Класс: slreq. ReqSet
Пакет: slreq
Добавьте обоснования в набор требований
jt = addJustification(rs)
jt = addJustification(rs, 'PropertyName', PropertyValue)
добавляет обоснование jt
= addJustification(rs
)jt
к набору требований rs
.
добавляет обоснование jt
= addJustification(rs
, 'PropertyName'
, PropertyValue
)jt
к набору требований rs
с дополнительными свойствами, заданными PropertyName
и PropertyValue
.
% Add a justification jt1 to a requirement set rs jt1 = addJustification(rs) jt1 = Justification with properties: Id: '70' Summary: '' Description: '' Keywords: [0×0 char] Rationale: '' CreatedOn: 16-Jan-2018 10:53:28 CreatedBy: 'John Doe' ModifiedBy: 'Jane Doe' SID: 76 FileRevision: 1 ModifiedOn: 16-Feb-2018 12:50:43 Dirty: 0 Comments: [0×0 struct] % Add a justification jt2 to a requirement set rs and specify properties jt2 = addJustification(rs, 'Summary', 'New justification', ... 'Description', 'Justify safety requirement') jt2 = Justification with properties: Id: '71' Summary: 'New justification' Description: 'Justify safety requirement' Keywords: [0×0 char] Rationale: '' CreatedOn: 11-Feb-2018 11:45:12 CreatedBy: 'John Doe' ModifiedBy: 'Jane Doe' SID: 77 FileRevision: 1 ModifiedOn: 12-Feb-2018 13:01:08 Dirty: 0 Comments: [0×0 struct]