Main Content

このページの内容は最新ではありません。最新版の英語を参照するには、ここをクリックします。

children

クラス: slreq.Justification
名前空間: slreq

構文

childJusts = children(jt)

説明

childJusts = children(jt) は、slreq.Justification オブジェクト jt の子正当化 childJusts を返します。

入力引数

すべて展開する

正当化。slreq.Justification オブジェクトとして指定します。

出力引数

すべて展開する

正当化 jt に属する子正当化。slreq.Justification オブジェクトとして返されます。

子正当化の検索

% 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

ヒント

バージョン履歴

R2018b で導入