Matlab/Simulink-Roadrunner Co-Simulation Problem with own Scenario

Dear all,
I am using the Matlab/Simulink Roadrunner co-simulation example:
“AutonomousEmergencyBrakingWithRoadRunnerScenarioExample”:
https://de.mathworks.com/help/driving/ug/autonomous-emergency-braking-with-roadrunner-scenario.html
with tool versions Matlab/Simulink R2024b and Roadrunner R2026a.
I have created my own scenario, which I want to use in the same setup instead of the original scenario. Last year, I already had similar problems with self-created scenarios; at that time I could only solve the problem by modifying an existing working scenario, rather than creating a completely new one.
After starting the simulation, I get the following message in the Matlab Command Window after a few seconds:
Connection status: 1
Connected to RoadRunner Scenario server on localhost:39466, with client id {1cc969c8-ddd1-40c1-a826-de75d4297f7e}
Unfortunately, the simulation with the new scenario only runs up to the actual start of the co-simulation, after which it seems there’s no real data exchange between the tools (Roadrunner doesn’t start the simulation at all). And after a while I get in the Roadrunner output window:
> ERROR: Client ‘MATLAB_Client’ (id: {3ae6a6ac-4d8d-4093-80d6-44e462f22a80}) timed out on event SimulationStepEvent.
> ERROR: Simulation failed:
At the same time, Matlab/Simulink crashes.

What debugging options do I have for this problem?
If needed I can provide the files or the code.

Best regards,
Hans-Werner GrohDear all,
I am using the Matlab/Simulink Roadrunner co-simulation example:
“AutonomousEmergencyBrakingWithRoadRunnerScenarioExample”:
https://de.mathworks.com/help/driving/ug/autonomous-emergency-braking-with-roadrunner-scenario.html
with tool versions Matlab/Simulink R2024b and Roadrunner R2026a.
I have created my own scenario, which I want to use in the same setup instead of the original scenario. Last year, I already had similar problems with self-created scenarios; at that time I could only solve the problem by modifying an existing working scenario, rather than creating a completely new one.
After starting the simulation, I get the following message in the Matlab Command Window after a few seconds:
Connection status: 1
Connected to RoadRunner Scenario server on localhost:39466, with client id {1cc969c8-ddd1-40c1-a826-de75d4297f7e}
Unfortunately, the simulation with the new scenario only runs up to the actual start of the co-simulation, after which it seems there’s no real data exchange between the tools (Roadrunner doesn’t start the simulation at all). And after a while I get in the Roadrunner output window:
> ERROR: Client ‘MATLAB_Client’ (id: {3ae6a6ac-4d8d-4093-80d6-44e462f22a80}) timed out on event SimulationStepEvent.
> ERROR: Simulation failed:
At the same time, Matlab/Simulink crashes.

What debugging options do I have for this problem?
If needed I can provide the files or the code.

Best regards,
Hans-Werner Groh Dear all,
I am using the Matlab/Simulink Roadrunner co-simulation example:
“AutonomousEmergencyBrakingWithRoadRunnerScenarioExample”:
https://de.mathworks.com/help/driving/ug/autonomous-emergency-braking-with-roadrunner-scenario.html
with tool versions Matlab/Simulink R2024b and Roadrunner R2026a.
I have created my own scenario, which I want to use in the same setup instead of the original scenario. Last year, I already had similar problems with self-created scenarios; at that time I could only solve the problem by modifying an existing working scenario, rather than creating a completely new one.
After starting the simulation, I get the following message in the Matlab Command Window after a few seconds:
Connection status: 1
Connected to RoadRunner Scenario server on localhost:39466, with client id {1cc969c8-ddd1-40c1-a826-de75d4297f7e}
Unfortunately, the simulation with the new scenario only runs up to the actual start of the co-simulation, after which it seems there’s no real data exchange between the tools (Roadrunner doesn’t start the simulation at all). And after a while I get in the Roadrunner output window:
> ERROR: Client ‘MATLAB_Client’ (id: {3ae6a6ac-4d8d-4093-80d6-44e462f22a80}) timed out on event SimulationStepEvent.
> ERROR: Simulation failed:
At the same time, Matlab/Simulink crashes.

What debugging options do I have for this problem?
If needed I can provide the files or the code.

Best regards,
Hans-Werner Groh roadrunner, co-simulation MATLAB Answers — New Questions

​

Leave a Reply

Your email address will not be published. Required fields are marked *