MATLAB 帮助中心
本页采用了机器翻译。点击此处可查看最新英文版本。
类: slreq.Justification 命名空间: slreq
检查申述是否具有层次性
tf = isHierarchical(jt)
tf = isHierarchical(jt) 检查 slreq.Justification 对象 jt 是否是申述层次的一部分,并返回布尔值 tf。
tf
jt
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×9 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
在 R2018b 中推出
setHierarchical | children
setHierarchical
children
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 国家/地区网站并未针对您所在位置的访问进行优化。
美洲
欧洲
亚太
联系您当地的办事处