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
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.
回答 (1 件)
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
参考
カテゴリ
Help Center および File Exchange で Automated Driving Toolbox についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!