促进
类:slreq。的理由
包:slreq
促进理由
语法
促进(jt)
描述
促进(
促进了jt
)slreq。的理由
对象jt
在层次结构中上升一级。
输入参数
例子
提出一个理由
加载一个需求集文件并找到证明对象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中引入