Класс: slreq. Требование
Пакет: slreq
Поиск дочерних требований по требованию
childReqs = children(req)
возвращает дочерние требования childReqs
= children(req
)childReqs
от slreq.Requirement
req объекта
.
% Load a requirements set file and add three new requirements rs = slreq.load('C:\MATLAB\My_Requirements_Set_1.slreqx'); req1 = add(rs, 'Id', '5', 'Summary' , 'Additional Requirement'); req2 = add(req1, 'Id', '5.1', 'Summary', 'Additional Child Requirement 1'); req3 = add(req1, 'Id', '5.2', 'Summary', 'Additional Child Requirement 2'); % Find the children of req1 childReqs = children(req1); childReqs = 1×2 Requirement array with properties: Id Summary Keywords Description Rationale SID CreatedBy CreatedOn ModifiedBy ModifiedOn FileRevision Comments