errors in simulating vehicle dynamics block set with unreal 3d interface, please help
조회 수: 2 (최근 30일)
이전 댓글 표시
MATLAB System block 'SCRReferenceApplication/Simulation 3D Scene Configuration/Simulation 3D Engine' error occurred when invoking 'resetImpl' method of 'Simulation3DEngine'. The error was thrown from '
'C:\Program Files\MATLAB\R2020b\toolbox\shared\sim3d\sim3d\+sim3d\EngineInterface.p' at line 0
'C:\Program Files\MATLAB\R2020b\toolbox\shared\sim3d\sim3d\+sim3d\Engine.p' at line 0
'C:\Program Files\MATLAB\R2020b\toolbox\shared\sim3d\sim3d\+sim3d\Project.p' at line 0
'C:\Program Files\MATLAB\R2020b\toolbox\shared\sim3dblks\sim3dblks\Simulation3DEngine.p' at line 0'.
Caused by:
3D simulation engine interface setup error: could not establish communication. Please restart the simulation.
댓글 수: 0
답변 (2개)
Chidvi Modala
2021년 3월 10일
In this use case, installing Unreal Engine might resolve the issue. However, it's not a requirement to have Unreal Engine / Unreal Editor installed. We have a documentation page that mentions some of the system requirements: https://www.mathworks.com/help/uav/ug/3d-simulation-environment-requirements-and-limitations.html
What usually happens is that the first time that you run an Unreal simulation, it will check if your system has all the prerequisites installed (Visual C++ runtime, DirectX). If not, there should be a popup that lets the user install those prerequisites before running the simulation. You can refer to the documentation page where it clearly states that "If this software is not already installed on your machine and you try to simulate in the 3D environment, UAV Toolbox prompts you to install it. Once you install the software, you must restart the simulation."
It's possible that you didn't see that popup to install the prerequisites. Once you install Unreal Engine you will get the prerequisites automatically.
If you already have it installed and you are still facing the issue, On January 15th 2021, a new version of "Automated Driving Toolbox Interface for Unreal Engine 4 Projects" was published. Try installing it
To get the latest version, open Add-Ons Explorer > Manage Add-Ons, uninstall the current support package, and then re-install it.
댓글 수: 0
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!