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

1 view (last 30 days)
研强 李
研强 李 on 22 Nov 2020
Answered: Raynier Suresh on 30 Nov 2020
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?

Answers (1)

Raynier Suresh
Raynier Suresh on 30 Nov 2020
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!