帮助中心帮助中心
本页采用了机器翻译。点击此处可查看英文原文。
获取出向链接以进行申述
myLinks = outLinks(jt)
myLinks = outLinks(jt) 返回申述jt 的出向链接。
myLinks
jt
全部展开
slreq.Justification
申述,指定为 slreq.Justification 对象。
slreq.Link
用于申述的出向链接,以 slreq.Link数组返回。
此示例显示如何获取申述的出向链接。
加载需求集crs_req_justs。
crs_req_justs
rs = slreq.load("crs_req_justs");
找到将 Index 设置为 5.2 的申述。
Index
5.2
jt = find(rs,Index=5.2);
获取申述的出向链接。
myLinks = outLinks(jt);
要获取需求的出向链接,请使用 slreq.Requirement 的 outLinks 方法。要获取引用需求的出向链接,请使用 slreq.Reference 的 outLinks 方法。
slreq.Requirement
outLinks
slreq.Reference
申述对象的链接始终是向外的。
您还可以使用需求编辑器查看出向链接。选择一个申述。在右侧窗格中,在链接下,出向链接图标 表示出出向链接。
在 R2018b 中推出
slreq.Justification | slreq.Link
您点击的链接对应于以下 MATLAB 命令:
请在 MATLAB 命令行窗口中直接输入以执行命令。Web 浏览器不支持 MATLAB 命令。
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Contact your local office