Класс: slreq. Оправдание
Пакет: slreq
Добавить дочернее обоснование
childJustification = add(jt, 'PropertyName', PropertyValue)
добавляет дочернее обоснование childJustification
= add(jt
, 'PropertyName'
, PropertyValue
)childJustification
к объекту обоснования jt
с дополнительными свойствами, заданными PropertyName
и PropertyValue
.
% Load a requirement set file rs = slreq.load('C:\MATLAB\My_Requirements_Set_1.slreqx'); % Add a justification object to the requirement set just1 = addJustification(rs, 'Id', 'J1', ... 'Summary', 'Non-functional requirement justification'); % Add a child justification to the justification just1 childJust1 = add(just1, 'Id', 'J1.1', ... 'Summary', 'Justification for non-functional requirement') childJust1 = Justification with properties: Id: 'J1.1' Summary: 'Justification for non-functional requirement' Description: '' Keywords: [0×0 char] Rationale: '' CreatedOn: 25-Aug-2017 11:21:29 CreatedBy: 'John Doe' ModifiedBy: 'Jane Doe' SID: 11 FileRevision: 2 ModifiedOn: 25-Aug-2017 14:00:29 Dirty: 0 Comments: [0×0 struct]