Main Content
isJustifiedFor
Class: slreq.Reference
Namespace: slreq
Check if referenced requirement is justified
Syntax
tf = isJustifiedFor(ref, linkType)
Description
checks if the referenced requirement tf
= isJustifiedFor(ref
, linkType
)ref
is justified for the link type
specified by linkType
.
Input Arguments
Output Arguments
Examples
Check if Referenced Requirements Are Justified
% Check if referenced requirement ref1 is justified for Implementation ref1_Status = isJustifiedFor(ref1, 'Implement') ref1_Status = logical 1 % Check if referenced requirement ref2 is justified for Verification ref2_Status = isJustifiedFor(ref2, 'Verify') ref2_Status = logical 0
Version History
Introduced in R2018b