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

6 ビュー (過去 30 日間)
香露
香露 2025 年 3 月 12 日
コメント済み: Nishan Nekoo 2025 年 3 月 13 日
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.

回答 (1 件)

Nishan Nekoo
Nishan Nekoo 2025 年 3 月 12 日
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 件のコメント
香露
香露 2025 年 3 月 13 日
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 2025 年 3 月 13 日
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

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeVehicle Scenarios についてさらに検索

製品


リリース

R2024b

Community Treasure Hunt

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

Start Hunting!

Translated by