Error when running Unreal Engine

15 ビュー (過去 30 日間)
Petr Machac
Petr Machac 2020 年 7 月 28 日
コメント済み: Jason Rodgers 2022 年 5 月 25 日
Hello, I have MATLAB R2020a, with Vehicle Dynamics Blockset, Automated Driving Toolbox and all other required prerequisities, I am trying to run a 3D simulation based on "Straight Road Scene" with my own Unreal Environment, just for testing purposes, I have opened the Unreal Editor and started the Unreal game (via Play button) but when I try to run the simulation i got this error 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.
MATLAB System block 'UnrealSimulinkIntegration/Simulation 3D Scene Configuration1/Simulation 3D Engine' error occurred when invoking 'resetImpl' method of 'Simulation3DEngine'. The error was thrown from '
C:\MatlabInstalationPath\sim3dblks\sim3dblks\Simulation3DEngine.p at line 0'.
Caused by:
  • 3D simulation engine startup error. Start the 3D simulation engine editor.
Do you have any tips how can I fix this?
Thank you very much for any response
  3 件のコメント
Kane Liu
Kane Liu 2020 年 8 月 12 日
Hello, do you have any progressing now? I meet the same question and can't find the answer on the Internet.
匡剛 加藤
匡剛 加藤 2020 年 8 月 24 日
I also suffered from the same problem.
It looks like you first need to read the project in the workspace with Matlab commands.
example)
env = sim3d.Editor('C:\AutoVrtlEnv')
[status,result]=open(env)

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

回答 (1 件)

Mike Sasena
Mike Sasena 2020 年 8 月 17 日
If you're trying to connect Simulink to a custom Unreal Engine scene, these instructions should help:
If you follow those steps and are still experiencing problems, please contact our tech support team:
  1 件のコメント
Jason Rodgers
Jason Rodgers 2022 年 5 月 25 日
I second Mike's recommendation. This error is usually driven by improper setup. If this is setup correctly, I would suggest making sure MATLAB is on its latest release. See this link for another discussion on a similar issue.

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

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by