Main Content

unlockAll

R2026b

Class: slreq.Reference
Namespace: slreq

Unlock all child referenced requirements for editing

Syntax

unlockAll(topRef)

Description

unlockAll(topRef) unlocks all the child referenced requirements of the top Import node topRef.

Input Arguments

expand all

Import node, specified as an slreq.Reference object.

Examples

expand all

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))

Version History

Introduced in R2019a

See Also