帮助中心帮助中心
本页采用了机器翻译。点击此处可查看英文原文。
检索出向链接类型标签
自 R2023a 起
label = slreq.getOutgoingLinkTypeLabel(type)
示例
label = slreq.getOutgoingLinkTypeLabel(type) 返回类型为 type 的出向链接的类型标签。
label
type
全部折叠
检索具有 Implement 链接类型属性的链接的出向链接标签。
Implement
linkLabel = slreq.getOutgoingLinkTypeLabel("Implement")
linkLabel = 'Implements'
假设您定义了 使用 sl_customization 文件定义自定义需求和链接类型 中描述的链接类型 Satisfy。检索具有 Satisfy 链接类型属性的链接的出向链接标签。
Satisfy
linkLabel = slreq.getOutgoingLinkTypeLabel("Satisfy")
linkLabel = 'Satisfies'
链接类型,指定为字符串标量或字符向量。您可以指定默认链接类型或自定义链接类型。有关如何定义自定义链接类型的更多信息,请参阅定义自定义需求和链接类型和属性。
数据类型: string | char
string
char
出向链接类型标签,以字符向量形式返回。
在 R2023a 中推出
slreq.getIncomingLinkTypeLabel
您点击的链接对应于以下 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