Simulink freezes when using 3D Animation

13 次查看(过去 30 天)
Timon
Timon 2024-10-25
回答: Raj 2025-3-7,9:39
Hello,
I am trying to run the aeroblk_HL20_UE demo.I have the Aerospace Blockset and Simulink 3D Animation installed. When starting the Simulation the "Simulation 3D Viewer" opens, but is completly black and I can only close it using the task manager. Beyond that, the Simulation is not running, since the Scopes are not filling up. After around 3 minutes of waiting this error pops up:
MATLAB System block 'aeroblk_HL20_UE/UE Visualization/Simulation 3D Scene Configuration/Simulation 3D Engine' error occurred when invoking 'resetImpl' method of 'Simulation3DEngine'. The error was thrown from '
'C:\Program Files\MATLAB\R2023b\toolbox\shared\sim3dblks\sim3dblks\Simulation3DEngine.p' at line 0
'C:\Program Files\MATLAB\R2023b\toolbox\simulink\ui\studio\config\m\+SLStudio\StartPauseContinue.p' at line 0
'C:\Program Files\MATLAB\R2023b\toolbox\simulink\ui\studio\config\m\+SLStudio\ToolBars.p' at line 0'.
Caused by:
3D Simulation engine interface read error.
Next to trying to figure out this error, I have tried to check all the requirements on this website: https://de.mathworks.com/help/aeroblks/unreal-engine-simulation-environment-requirements-and-limitations.html
These seem alright.
Does anyone have a idea why the demo could not be running for me? I am not finding any more relevant information online.

回答(2 个)

Saurabh
Saurabh 2024-10-28
It seems that the GPU may not be recognized correctly. I recommend reinstalling the necessary driver, as this might resolve the issue.
I hope this was helpful.

Raj
Raj 2025-3-7,9:39
The error message you are seeing is a common error which occurs while doing a co-simulation of Simulink and Unreal Editor, where in if you don't click 'Start' for some time, Simulink will throw this error.
While in your case, since you are not cosimulating it with Unreal Editor and the example uses a 'Default Scene' as 'Scene Source', i'd suggest some general steps you can try to resovle the issue-
  1. Check for updates in MATLAB and the Simlation 3D Animation and make sure its updated. You can also consider reinstalling of MATLAB to fix any issue due to faulty downloading. For fresh installation of MATLAB, you can refer to the following link- https://www.mathworks.com/matlabcentral/answers/131519-how-do-i-perform-a-clean-installation-of-matlab
  2. Consider reaching out to Technical support if the issue still persists- https://www.mathworks.com/support/contact_us.html

类别

Help CenterFile Exchange 中查找有关 Aerospace Applications 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by