Main Content

unlockAll

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

すべての子参照要件のロックを編集用に解除

構文

unlockAll(topRef)

説明

unlockAll(topRef) は、最上位のインポート ノード topRef のすべての子参照要件のロックを解除します。

入力引数

すべて展開する

インポート ノード。slreq.Reference オブジェクトとして指定します。

親参照要件のすべての子のロックを解除

% Load a requirement set file
rs = slreq.load('C:\MATLAB\My_Requirement_Set_1.slreqx');

% Find all referenced requirements in the requirement set
allRefs = find(rs, 'Type', 'Reference')

allRefs = 

  1×25 Reference array with properties:

    Id
    CustomId
    Artifact
    ArtifactId
    Domain
    UpdatedOn
    CreatedOn
    CreatedBy
    ModifiedBy
    IsLocked
    Summary
    Description
    Rationale
    Keywords
    Type
    SID
    FileRevision
    ModifiedOn
    Dirty
    Comments

% Unlock all child referenced requirements of the top Import node  
unlockall(allRefs(1))

バージョン履歴

R2019a で導入

参考