Main Content
getVerificationStatus
Class: slreq.ReqSet
Namespace: slreq
Query requirement set verification status summary
Syntax
status = getVerificationStatus(rs)
Description
returns the verification status summary of requirements in the requirement set
status
= getVerificationStatus(rs
)rs
.
Input Arguments
Output Arguments
Examples
Get Verification Status Summary of a Requirement Set
% Load a requirement set file rs = slreq.load('C:\MATLAB\My_Requirements_Set_1.slreqx'); % Get the verification status summary of the requirements in rs verifStatus = getVerificationStatus(rs) verifStatus = struct with fields: total: 25 passed: 10 failed: 5 unexecuted: 4 justified: 1 none: 5
Tips
To get the verification status for a requirement, pass the
slreq.Requirement
object as an input to thegetVerificationStatus
function.To get the verification status for a referenced requirement, pass the
slreq.Reference
object as an input to thegetVerificationStatus
method.
Version History
Introduced in R2018b