3D simulation engine interface setup error: could not establish communication. Please restart the simulation.

18 次查看(过去 30 天)
  3 个评论
Nguyen Luong Minh
Nguyen Luong Minh 2022-6-12
编辑:Nguyen Luong Minh 2022-6-12
I faced similar issue (when try to connect Matlab/Simulink 2021b with Unreal Engine 4.25). What is the status of this ticket?
Mike Sasena
Mike Sasena 2023-3-1
Hi Nguyen,
It doesn't look like you've received any response yet. Did you reach out to MathWorks Tech Support (e.g., via the Service Request form)? We'll need more info to find out what's going on in your specific case, so our Tech Support team is a good way to ask those kinds of questions.

请先登录,再进行评论。

回答(1 个)

Chandrika
Chandrika 2024-2-4
Hi,
Please ensure that you are starting the simulation from the Unreal Editor if you have not been doing that. Since the source of the scenes is the project opened in the Unreal Editor, once on clicking the “Run” button in the Simulink model, click on ‘Play’ in the Unreal Editor to finally run the simulation in the scene.
Also, once on clicking “Run” in Simulink, verify that the Diagnostic Viewer window in Simulink displays the following message:
"In the Simulation 3D Scene Configuration block, you set the scene source to 'Unreal Editor'. In Unreal Editor, select 'Play' to view the scene."
This message confirms that Simulink has instantiated vehicles and other objects in the Unreal Engine environment.
You can find more information on the same in the documentation attached below:
Hope this helps!

产品


版本

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by