What toolbox is required for allpaths() built-in command?
2 次查看(过去 30 天)
显示 更早的评论
I found out that there is an in-built command to find possible paths between two nodes in a graph.
paths = allpaths(G,s,t)
But when I use it it says command not found. I am unable to decipher what toolbox I might need to install for this. Anyone please tell. This is the documentation page https://www.mathworks.com/help/matlab/ref/graph.allpaths.html
The surprising thing is the shortestpath command works fine. I assume these two commands fall in the same toolbox but then why allpaths isn't working?
0 个评论
采纳的回答
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Graph and Network Algorithms 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!