MATLAB 帮助中心
本页采用了机器翻译。点击此处可查看最新英文版本。
类: slreq.Justification 命名空间: slreq
更改层次申述状态
setHierarchical(jt,tf)
setHierarchical(jt,tf) 按照布尔值 slreq.Justification 的指定更改 jt 对象 tf 的层次结构申述状态。
jt
tf
slreq.Justification
全部展开
申述,指定为 slreq.Justification 对象。
true
false
slreq.Justification 对象的层次结构申述状态,指定为布尔值。
加载需求集文件并找到申述对象。
rs = slreq.load("C:\MATLAB\My_Requirements_Set_1.slreqx"); justs = find(rs,"Type","Justification")
justs = 1×10 Justification array with properties: Id Summary Description Keywords Rationale CreatedOn CreatedBy ModifiedBy SID FileRevision ModifiedOn Dirty Comments
检查 justs 中的第一个申述是否是分层理由。
justs
tf = isHierarchical(justs(1))
tf = logical 0
将 justs 中的第一个申述改为分层理由。
setHierarchical(justs(1),true);
在 R2018b 中推出
isHierarchical | parent
isHierarchical
parent
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window. Web browsers do not support MATLAB commands.
选择网站
选择网站以获取翻译的可用内容,以及查看当地活动和优惠。根据您的位置,我们建议您选择:。
您也可以从以下列表中选择网站:
如何获得最佳网站性能
选择中国网站(中文或英文)以获得最佳网站性能。其他 MathWorks 国家/地区网站并未针对您所在位置的访问进行优化。
美洲
欧洲
亚太
联系您当地的办事处