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

6 views (last 30 days)
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 Comments
Steven Lord
Steven Lord on 7 Apr 2022
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 on 14 Apr 2022
Hello Steven, thanks for your suggestions. I will try this commands with the present version of Matlab.

Sign in to comment.

Answers (1)

Cameron Stabile
Cameron Stabile on 7 Apr 2022
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 Comment
Anton Kotenko
Anton Kotenko on 14 Apr 2022
Hi Cameron!
Thanks a lot for your advice. I'll definitely try updating to R2022a version. Hope it helps my issue!
Best regards,
Anton

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!