MATLAB 帮助中心
本页采用了机器翻译。点击此处可查看英文原文。
获取 Requirements Table 模块行中的出向链接
自 R2026a 起
myLinks = outLinks(row)
myLinks = outLinks(row) 返回 Requirements Table 模块行(即 row)的出向链接。
myLinks
row
示例
全部折叠
此示例演示了如何获取 Requirements Table 模块行的出向链接。
获取 myModel 模型中 Requirements Table 模块的 RequirementsTable 对象。
myModel
RequirementsTable
table = slreq.modeling.find("myModel");
获取 RequirementsTable 对象中的第一行需求。
rows = getRequirementRows(table); reqRow = rows(1);
获取该需求行对应的出向链接。
myLinks = inLinks(reqRow);
RequirementRow
Requirements Table 模块中的需求行,指定为 RequirementRow 对象。
slreq.Link
出向链接,以 slreq.Link 数组的形式返回。
在 R2026a 中推出
slreq.createLink
getRequirementRows
slreq.modeling.create
slreq.modeling.find
inLinks
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 国家/地区网站并未针对您所在位置的访问进行优化。
美洲
欧洲
亚太
联系您当地的办事处