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

2 次查看(过去 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