Class: slreq.Justification
Package: slreq
Remove justification items
count = remove(jt, 'PropertyName', PropertyValue)
removes all child justification items belonging to the parent justification
count
= remove(jt
, 'PropertyName'
, PropertyValue
)jt
with additional properties specified by
PropertyName
and PropertyValue
. Returns the number of
items removed as count
.
% Load a requirement set file rs = slreq.load('C:\MATLAB\My_Requirements_Set_1.slreqx'); % Find all justification objects in the requirement set myJustifications = find(rs, 'Type', 'Justification') myJustifications = 1×10 Justification array with properties: Id Summary Description Keywords Rationale CreatedOn CreatedBy ModifiedBy SID FileRevision ModifiedOn Dirty Comments % Remove all justification objects that were created by Jane Doe count = remove(myJustifications, 'CreatedBy', 'Jane Doe') count = 5