Simulation 3D Scene Configuration Block Error

13 Ansichten (letzte 30 Tage)
CHUAN-YU YAN
CHUAN-YU YAN am 26 Jul. 2021
Beantwortet: Nishan Nekoo am 2 Aug. 2024
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.

Antworten (1)

Nishan Nekoo
Nishan Nekoo am 2 Aug. 2024
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.

Produkte


Version

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by