Main Content

justifyImplementation

Class: slreq.Requirement
Package: slreq

Justify requirements for implementation

Syntax

implementationJustLink = justifyImplementation(req, jt)

Description

implementationJustLink = justifyImplementation(req, jt) justifies the requirement req for implementation by creating a link implementationJustLink from the justification jt to req.

Input Arguments

expand all

Requirement to justify for implementation, specified as an slreq.Requirement object.

Justification object to justify req for implementation, specified as an slreq.Justification object.

Output Arguments

expand all

Link to justification object jt of type Implement, returned as an slreq.Link object.

Examples

% Justify requirement myReq for implementation by using a justification object myJust

myImplJustification = justifyImplementation(myReq, myJust)

myImplJustification = 

  Link with properties:

           Type: 'Implement'
    Description: 'Cruise Control Mode (crs_req_func_spec#1)'
       Keywords: [0×0 char]
      Rationale: ''
      CreatedOn: 13-Jan-2017 13:45:12
      CreatedBy: 'John Doe'
     ModifiedOn: 24-Oct-2018 12:25:30
     ModifiedBy: 'Jane Doe'
       Revision: 6
       Comments: [0×0 struct]
Introduced in R2018b