Main Content
remove
Class: slreq.Justification
Namespace: slreq
Remove justification items
Syntax
count = remove(jt, 'PropertyName', PropertyValue)
Description
removes 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
.
Input Arguments
Output Arguments
Examples
Remove Justification Items
Load a requirement set file.
rs = slreq.load('C:\MATLAB\My_Requirements_Set_1.slreqx');
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
count = remove(myJustifications(1), 'CreatedBy', 'Jane Doe')
count = 1
Version History
Introduced in R2018b