getLinks
类: slreq.LinkSet
命名空间: slreq
输入参数
myLinkSet
— 链接集
slreq.LinkSet
对象
链接集,指定为 slreq.LinkSet
对象。
输出参量
myLinks
— 链接
slreq.Link
数组
链接,以 slreq.Link
数组返回。
示例
从链接集中获取链接
此示例显示如何从链接集中获取链接。
打开 ShortestPath
工程。
openProject("ShortestPath");
加载 shortest_path
MATLAB® 代码文件的链接集。
myLinkSet = slreq.load("shortest_path.m");
从链接集中获取链接。
myLinks = getLinks(myLinkSet)
myLinks=1×11 Link array with properties:
Type
Description
Keywords
Rationale
CreatedOn
CreatedBy
ModifiedOn
ModifiedBy
Revision
SID
Comments
版本历史记录
在 R2020a 中推出
MATLAB 命令
您点击的链接对应于以下 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:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Americas
- América Latina (Español)
- Canada (English)
- United States (English)
Europe
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)