Main Content

本页采用了机器翻译。点击此处可查看英文原文。

unlock

类: slreq.Reference
命名空间: slreq

解锁引用需求

语法

unlock(ref)

说明

unlock(ref) 解锁所引用的编辑需求。

输入参数

全部展开

引用解锁的需求,指定为 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×73 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 a referenced requirement 
unlock(allRefs(25))

版本历史记录

在 R2019a 中推出

另请参阅