Problem running updated roadrunner in Matlab R2023a
2 次查看(过去 30 天)
显示 更早的评论
I have installed updated Matlab R2023a and roadrunner update2. Calling RoadRunner objects in matlab throws the following error
"'roadrunner' requires one of the following:
Automated Driving Toolbox
RoadRunner "
Then when I install Automated Driving Toolbox, my code using RoadRunner functions works but I can't acess the specific updates that RoadRunner V2 has. If I go back to standalone RoadRunner that includes the updates then I get the error above.
0 个评论
回答(1 个)
Altaïr
2025-5-13
It appears there is a conflict between using the standalone version of RoadRunner with its specific updates and the MATLAB-integrated version that requires the Automated Driving Toolbox. Here are a few key points to consider:
1. Ensure Correct Installation Path:
First, confirm that the RoadRunner installation path is correctly set in MATLAB. If RoadRunner is installed in a non-default location, specify this path in MATLAB using the settings function:
RRInstallationFolder = "MyInstallationFolder"; % Replace with your actual installation path
s = settings;
s.roadrunner.application.InstallationFolder.PersonalValue = RRInstallationFolder;
s.roadrunner.application.InstallationFolder.TemporaryValue = RRInstallationFolder;
This ensures MATLAB can locate the standalone RoadRunner application.
2. Use the Correct Version:
Check that the RoadRunner version matches the MATLAB release. For example, when using MATLAB R2023a, the corresponding RoadRunner version should also be R2023a. Compatibility information is available at: https://www.mathworks.com/help/releases/R2023b/driving/ug/connect-matlab-and-roadrunner.html#:~:text=R20NNx%20is%20the%20MATLAB%20release%20you%20are%20using%2C%20such%20as%20R2023b.%20Use%20the%20same%20release%20of%20MATLAB%20and%20RoadRunner.
3. Launching RoadRunner from MATLAB:
To open RoadRunner from MATLAB, use the roadrunner command and specify the installation folder if it is not in the default location:
rrApp = roadrunner(ProjectFolder=projectFolder, InstallationFolder=RRInstallationFolder);
This approach ensures that the correct version and updates are used when launching RoadRunner from MATLAB.
It is also helpful to review the system requirements page to confirm that RoadRunner is supported on the system in use.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Programmatic Scene and Scenario Management 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!