An error occurred in the Simulink and UnrealEngine 5.3 co-simulation

6 Ansichten (letzte 30 Tage)
香露
香露 am 12 Mär. 2025
Kommentiert: Nishan Nekoo am 13 Mär. 2025
I configured the requirements for co-simulation in version 2024b according to the documentation, but when I tested with the official example, it couldn't be simulated normally, and as soon as I ran the model, it showed up in Unrealengine and clicked play, but it kept loading.
Finally, the "3D Simulation engine interface read error." pops up.

Antworten (1)

Nishan Nekoo
Nishan Nekoo am 12 Mär. 2025
Hello! Please ensure you are following all the instructions to download and set up the support package carefully: https://www.mathworks.com/help/vdynblks/ug/customize-3d-scenes-for-vehicle-dynamics-simulations.html
This seems to point to an issue in the co-simulation interface. You mentioned that "it kept loading" - do you mean that Simulink was stuck in "initialization" or do you mean something else?
Here's a few troubleshooting steps to try for this issue:
  1. Restart your PC
  2. Ensure that Unreal Editor is opened using the "Open Unreal Editor" button in the Simulation 3D Scene Configuration block.
  3. Try running the co-simulation with a blank model containing only the Simulation 3D Scene Configuration block.
Let me know if this helps resolve the issue!
Nishan
  4 Kommentare
香露
香露 am 13 Mär. 2025
Good news for you, I successfully joined forces with Unreal Engine by removing two invalid modules from the Unreal Engine Blueprint level.
Nishan Nekoo
Nishan Nekoo am 13 Mär. 2025
I'm glad that your issue is resolved! Can you provide any information about which invalid modules you had to remove from the Blueprint level?
Nishan

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Vehicle Scenarios finden Sie in Help Center und File Exchange

Produkte


Version

R2024b

Community Treasure Hunt

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

Start Hunting!

Translated by