Unable to run the highway lane change using Roadrunner Scenario

3 次查看(过去 30 天)
When I am trying to run the given .slx file in MATLAB it is giving model error. Need some guidance.

回答(1 个)

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

标签

产品


版本

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by