exponenta event banner

unlockAll

Класс: slreq. Ссылка
Пакет: 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