children
クラス: slreq.Justification
パッケージ: slreq
構文
childJusts = children(jt)
説明
は、childJusts
= children(jt
)slreq.Justification
オブジェクト jt
の子正当化 childJusts
を返します。
入力引数
出力引数
例
子正当化の検索
% Load a requirement set file and find justification objects rs = slreq.load('C:\MATLAB\My_Requirements_Set_1.slreqx'); allJusts = find(rs, 'Type', 'Justification') allJusts = 1×20 Justification array with properties: Id Summary Description Keywords Rationale CreatedOn CreatedBy ModifiedBy SID FileRevision ModifiedOn Dirty Comments jt1 = allJusts(1); % Find the children of jt1 childJusts = children(jt1) childJusts = 1×10 Justification array with properties: Id Summary Description Keywords Rationale CreatedOn CreatedBy ModifiedBy SID FileRevision ModifiedOn Dirty Comments
ヒント
要件セット内の最上位項目を取得するには、
slreq.ReqSet.children
を使用します。要件の子要件を取得するには、slreq.Requirement.children
を使用します。参照要件の子参照要件を取得するには、slreq.Reference.children
を使用します。
バージョン履歴
R2018b で導入