主要内容

促进

类:slreq。的理由
包:slreq

促进理由

语法

促进(jt)

描述

促进(jt促进了slreq。的理由对象jt在层次结构中上升一级。

输入参数

全部展开

说明,指定为slreq。的理由对象。

例子

提出一个理由

加载一个需求集文件并找到证明对象Rs = slreq.load(“C: \ MATLAB \ My_Requirements_Set_1.slreqx”);allJusts = find(rs,“类型”“理由”) allJusts = 1×20理由数组属性:Id摘要描述关键字基本原理CreatedOn CreatedBy ModifiedBy SID FileRevision ModifiedOn Dirty Comments jt1 = allJusts(1);找到jt1的子节点childJusts = children(jt1) childJusts = 1×10验证数组属性:Id摘要描述关键字基本原理CreatedOn CreatedBy ModifiedBy SID FileRevision ModifiedOn Dirty Comments提升jt1的第一个子元素。促进(childJusts (1));查找childJusts的父节点(1)parentJustification = parent(childJusts(1)) parentJustification = ReqSet属性:描述:名称:“My_Requirements_Set_1”文件名:“C: \ MATLAB \ My_Requirements_Set_1.slreqx”修订:81 Dirty: 1 CustomAttributeNames: {}

版本历史

在R2018b中引入

另请参阅

||