how to build myself scenario in the example of HighwayLan​eChangeTes​tBench?

2 ビュー (過去 30 日間)
研强 李
研强 李 2020 年 11 月 22 日
回答済み: Raynier Suresh 2020 年 11 月 30 日
Hello,
In the example of HighwayLaneChangeTestBench, the scenarios are scenario_LC_01_SlowMoving.m,scenario_LC_02_SlowMovingWithPassingCar.m and so on.
However, generally speaking, the driving scenario designer generates a. Mat file. How to convert a scene. Mat file into . M file? Or, in this case, what other ways to add driving scenarios?

回答 (1 件)

Raynier Suresh
Raynier Suresh 2020 年 11 月 30 日
After designing the scenario using the driving scenario use the Export option and select “MATLAB Function” this will create a MATLAB function for your scenario and then you can save it as a .m file.
You can use this function similar to scenario_LC_01_SlowMoving.m in your model.
Refer the below link to know more about driving scenario designer:

Community Treasure Hunt

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

Start Hunting!

Translated by