Simulation 3D Scene Configuration Block Error

조회 수: 13 (최근 30일)
CHUAN-YU YAN
CHUAN-YU YAN 2021년 7월 26일
답변: Nishan Nekoo 2024년 8월 2일
Hello everyone!
I want to use Matlab/Simulation combined with Unreal Engine and I follow the help below "Customize 3D Scenes for Vehicle Dynamics Simulations" from help center.
But when I use Simulation 3D Scene Configuration Block, select the Default Scene option in "Source Scene", the simulation will go wrong, the following is the error description:
MATLAB System block 'untitled/Simulation 3D Scene Configuration/Simulation 3D Engine' error occurred when invoking 'resetImpl' method of 'Simulation3DEngine'. The error was thrown from '
'C:\Matlab\R2021a\toolbox\shared\sim3d\sim3d\+sim3d\EngineInterface.p' at line 0
'C:\Matlab\R2021a\toolbox\shared\sim3d\sim3d\+sim3d\Engine.p' at line 0
'C:\Matlab\R2021a\toolbox\shared\sim3d\sim3d\+sim3d\Project.p' at line 0
'C:\Matlab\R2021a\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.
Similarly, when I select the Unreal Executable option in "Source Scene", the same error will occur,
but using the Unreal Editor option can work normally.
Best regards.

답변 (1개)

Nishan Nekoo
Nishan Nekoo 2024년 8월 2일
Hi Chuan-Yu, apologies for the delayed response here but this may have been an issue with having the Unreal Editor open while trying to perform the actions you mentioned above. In general, restarting the simulation as decsribed in the error message should resolve this issue. Please let us know if this does not resolve the issue.

제품


릴리스

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by