getImplementationStatus
类: slreq.Requirement
命名空间: slreq
查询需求实施状态摘要
语法
status = getImplementationStatus(req)
status = getImplementationStatus(req, 'self')
说明
返回需求 status
= getImplementationStatus(req
)req
及其所有子需求的实施状态摘要。
仅返回需求 status
= getImplementationStatus(req
, 'self')req
的实施状态摘要。
输入参数
输出参量
示例
获取需求的实施状态摘要
% Get the implementation status summary of the requirement req % and all its child requirements reqImplStatus = getImplementationStatus(req) reqImplStatus = struct with fields: total: 20 implemented: 16 justified: 3 none: 1 % Get the implementation status summary of only the requirement myReq myReqImplStatus = getImplementationStatus(myReq, 'self') myReqImplStatus = struct with fields: implemented: 16 justified: 3 none: 1
版本历史记录
在 R2018b 中推出