Main Content

getImplementationStatus

Class: slreq.ReqSet
Namespace: slreq

Query requirement set implementation status summary

Syntax

status = getImplementationStatus(rs)

Description

status = getImplementationStatus(rs) returns the implementation status for the requirement set rs.

Input Arguments

expand all

Requirement set, specified as an slreq.ReqSet object.

Output Arguments

expand all

The implementation status summary for the requirements in the requirement set, returned as a MATLAB® structure containing these fields.

The total number of Functional requirements in the requirement set, returned as a double.

The total number of implemented requirements in the requirement set, returned as a double.

The total number of requirements justified for implementation in the requirement set, returned as a double.

The total number of unimplemented requirements in the requirement set, returned as a double.

Examples

Get Implementation Status Summary of a Requirement Set

% Load a requirement set file
rs = slreq.load('C:\MATLAB\My_Requirements_Set_1.slreqx');

% Get the implementation status summary of the requirement set rs
implStatus = getImplementationStatus(rs)

implStatus = 

  struct with fields:

          total: 25
    implemented: 18
      justified: 5
           none: 2

Version History

Introduced in R2018b