Main Content

本页采用了机器翻译。点击此处可查看英文原文。

reqSet

类: slreq.Justification
命名空间: slreq

返回父级需求集

语法

rsout = reqSet(jt)

说明

rsout = reqSet(jt) 返回父需求集rsout。申述jt 属于 rsout

输入参数

全部展开

申述,指定为 slreq.Justification 对象。

输出参量

全部展开

申述jt的父需求集,作为slreq.ReqSet对象返回。

示例

查询需求集信息

% Load a new requirement set file and select one justification
rs = slreq.load('C:\MATLAB\My_Requirements_Set_1.slreqx');
allJustifications = find(rs, 'Type', 'Justification');
jt = allJustifications(1);

% Query which requirement set jt belongs to
reqSet(jt)

ans = 

  ReqSet with properties:

             Description: ''
                    Name: 'My_Requirements_Set_1'
                Filename: 'C:\MATLAB\My_Requirements_Set_1.slreqx'
                Revision: 65
                   Dirty: 0
    CustomAttributeNames: {}
               CreatedBy: 'John Doe'
               CreatedOn: 17-Dec-2016 10:02:30
              ModifiedBy: 'Jane Doe'
              ModifiedOn: 01-May-2016 11:20:21

版本历史记录

在 R2018b 中推出

另请参阅

|