Where can I get a correct example of Highway Lane Change project?

1 次查看(过去 30 天)
Hi, it seems like a wrong MATLAB Command is attached to this project https://www.mathworks.com/help/driving/ug/highway-lane-change.html#d123e46448. It looks exactly like this one https://www.mathworks.com/help/driving/ug/highway-lane-change-planner-and-controller.html , which lacks the use of Sensors subsystem (cameras and radar) to detect target vehicles. Is there any way to get the right project example, which is described in Highway Lane Change application?
  4 个评论
Steven Lord
Steven Lord 2022-4-7
If you have Automated Driving Toolbox installed, run the openExample commands Walter Roberson posted. This will cause MATLAB to open the example in the Editor and change the current directory to the location where the helper files for that example are located.
If you don't have Automated Driving Toolbox installed, those example files are not installed but you wouldn't be able to run them even if you had them since they use functionality from the toolbox.
This assumes you're using a release in which those examples were present. If the examples were introduced in a newer release than the one you're using, you would need to upgrade to access them.
Anton Kotenko
Anton Kotenko 2022-4-14
Hello Steven, thanks for your suggestions. I will try this commands with the present version of Matlab.

请先登录,再进行评论。

回答(1 个)

Cameron Stabile
Cameron Stabile 2022-4-7
Hi Anton,
Thanks for your interest in these examples. As Steven mentioned, the reason for the discrepancy is that the you are attempting to use links from the R2022a documentation in your R2021b instance of MATLAB.
A good practice is to always select your current version of MATLAB from the Archived MathWorks Documentation page before searching the doc. If you search "Highway Lane Change" in R2021b and the latest release (R2022a), respectively, you'll see that the example has been updated.
To remedy the issue you should update to R2022a, as the underlying features may not exist or be compatible in previous releases.
Best,
Cameron
  1 个评论
Anton Kotenko
Anton Kotenko 2022-4-14
Hi Cameron!
Thanks a lot for your advice. I'll definitely try updating to R2022a version. Hope it helps my issue!
Best regards,
Anton

请先登录,再进行评论。

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by