How scenarios can be generated automatically
4 次查看(过去 30 天)
显示 更早的评论
In R2018b there was the helperScenarioReader.m and the mat-files generated by Driving Scenario Designer had a simple structure containing only matrices, so it was very easy to generate such mat files automatically.
But in R2019a the scenarioReader is p-coded and the mat-files generated by Driving Scenario Designer have a very complex structure containing class objects and it seems, that such class objects cannot be initialized outside the GUI of Driving Scenario Designer.
Any idea or solution to create such mat-files in R2019a automatically?
0 个评论
采纳的回答
Roshin Kadanna Pally
2019-10-1
Hi Thaddaus,
Starting from R2019b, the Scenario Reader can read from a drivingScenario object in MATLAB workspace. See the following page:
Hope this helps.
Roshin
5 个评论
Muhammad Iqbal
2019-12-2
Thanks Thaddaus;
I got It ,but now i want to know about
1. "How to repeat/run the modified scenario 1000 time with simulation run ? "
e.g i have a piece of road as
scenario = drivingScenario;
roadCenters = [0 0; 50 0];
roadWidth = 6;
road(scenario, roadCenters, roadWidth);
how to repeate this 1000 with the model
2.how to get data from generated graph after simulation run?
thanks
更多回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!