Unable to run the highway lane change using Roadrunner Scenario

2 views (last 30 days)
When I am trying to run the given .slx file in MATLAB it is giving model error. Need some guidance.

Answers (1)

sai charan sampara
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.

Tags

Products


Release

R2023a

Community Treasure Hunt

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

Start Hunting!