Help CenterHelp Center
Class: slreq.LinkSet Namespace: slreq
Get links from link set
Since R2020a
myLinks = getLinks(myLinkSet)
myLinks = getLinks(myLinkSet) returns the links in the link set specified by myLinkSet.
myLinks
myLinkSet
example
expand all
slreq.LinkSet
Link set, specified as an slreq.LinkSet object.
slreq.Link
Links, returned as an slreq.Link array.
This example shows how to get links from a link set.
Open the ShortestPath project.
ShortestPath
openProject("ShortestPath");
Load the link set for the shortest_path MATLAB® code file.
shortest_path
myLinkSet = slreq.load("shortest_path.m");
Get the links from the link set.
myLinks=1×11 Link array with properties: Type Description Keywords Rationale CreatedOn CreatedBy ModifiedOn ModifiedBy Revision SID Comments
Introduced in R2020a
slreq.find
getBrokenLinks
getOrphanLinks
linkSet
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.
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