xy= findpath(prm,start,goal)finds an obstacle-free path betweenstartandgoallocations withinprm, a roadmap object that contains a network of connected points.
If any properties ofprm改变,或如果没有创建路线图,updateis called.
xy— Waypoints for a path betweenstartandgoal n-by-2 column vector
Waypoints for a path between start and goal, specified as an-by-2 column vector of[x y]pairs, wherenis the number of waypoints. These pairs represent the solved path from thestartandgoallocations, given the roadmap from theprminput object.
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.