MATLAB: Optimal Trajectory in Frenet Frame Example

trajectory planning example

Hello,
for some reason I get an error, when testing this example: https://www.mathworks.com/help/nav/ref/trajectoryoptimalfrenet.html
Matlab does not recognize the NumSegments class property. Any ideas, why this problem occurs?
Best Regards

Best Answer

Hi,
The NumSegments property is added in MATLAB 2020a version. The error might be because you are using older MATLAB version. Kindly update the same or use the old documentation for trying out the example. The link for the old documentation is below
Hope this helps!
Related Question