Main Content

justifyVerification

Class: slreq.Requirement
Package: slreq

Justify requirements for verification

Syntax

verificationJustLink = justifyVerification(req, jt)

Description

verificationJustLink = justifyVerification(req, jt) justifies the requirement req for verification by creating a link verificationJustLink from the justification jt to req.

Input Arguments

expand all

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

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

Output Arguments

expand all

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

Examples

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

myVerifJustification = justifyVerification(myReq, myJust)

myVerifJustification = 

  Link with properties:

           Type: 'Verify'
    Description: 'Cruise mode detection (crs_req_func_spec#67)'
       Keywords: [0×0 char]
      Rationale: ''
      CreatedOn: 30-Oct-2017 09:10:34
      CreatedBy: 'John Doe'
     ModifiedOn: 02-Feb-2018 17:08:09
     ModifiedBy: 'Jane Doe'
       Revision: 5
       Comments: [0×0 struct]
Introduced in R2018b