Unable to run the highway lane change using Roadrunner Scenario
1 view (last 30 days)
Show older comments
When I am trying to run the given .slx file in MATLAB it is giving model error. Need some guidance.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1611331/image.jpeg)
2 Comments
Answers (1)
sai charan sampara
on 27 Feb 2024
Hello Sayandip,
I understand that you are getting an error saying, “Dot indexing is not supported for variable of this type” while running the Simulink file of the example “Highway Lane Change Planner with RoadRunner Scenario”.
The error might be occurring because of incorrect paths in the “HighwayLaneChangePlannerWithRRScenarioExample.m” file. This MATLAB file has two variables “rrAppPath” and “rrProjectPath”. The variable “rrAppPath” should store the path to the local RoadRunner installation folder. Verify if this variable is storing the location of the correct folder (folder corresponding to RoadRunner in your computer). Also, the variable “rrPojectPath” should store the path to your RoadRunner project folder. In the example code it was assigned a placeholder value of a sample project folder, replace this path with the path to the current RoadRunner project folder you are using. To get the expected results run the “HighwayLaneChangePlannerWithRRScenarioExample.m” MATLAB file with the above-mentioned changes.
0 Comments
See Also
Categories
Find more on Programmatic Scene and Scenario Management in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!