Error Simulating Model When Enabling the 3D Engine in MATLAB R2020b
Mostrar comentarios más antiguos
When I followed the example 'Design Lane Marker Detector Using Unreal Engine Simulation Environment' and ran open_system('straightRoadSim3D') and sim('straightRoadSim3D'),this error occured:
MATLAB System block 'straightRoadSim3D/Simulation 3D Scene Configuration1/Simulation 3D Engine' error occurred when invoking
'resetImpl' method of 'Simulation3DEngine'. The error was thrown from '
'D:\matlab2020b\toolbox\shared\sim3d\sim3d\+sim3d\EngineInterface.p' at line 0
'D:\matlab2020b\toolbox\shared\sim3d\sim3d\+sim3d\Engine.p' at line 0
'D:\matlab2020b\toolbox\shared\sim3d\sim3d\+sim3d\Project.p' at line 0
'D:\matlab2020b\toolbox\shared\sim3dblks\sim3dblks\Simulation3DEngine.p' at line 0'.
Caused by:
3D simulation engine interface setup error.
It used just default scenes, and i am very confused.
Respuestas (3)
Sunil Patidar
el 6 de Nov. de 2020
0 votos
Hi,
The version of Unreal required to run the interface with the Vehicle Dynamics Blockset changes based on the MATLAB Release.
In this case, for version R2020b the relevant version of Unreal is v4.23.
Refer to the following documentation page for more information on version-specificity for other MATLAB releases:
Installing the correct version will likely correct the issue reported above.
1 comentario
Jiangfeng Liu
el 6 de Nov. de 2020
Chenhao Yang
el 26 de Abr. de 2021
0 votos
did you found any way to solve this problem? I am still facing it...
4 comentarios
Jiangfeng Liu
el 27 de Abr. de 2021
Jiapeng Zhu
el 26 de Jul. de 2021
Editada: Jiapeng Zhu
el 26 de Jul. de 2021
Hi, have you solve the problem yet? I also got this error and don't know how to fix it. Thanks
丁文 薛
el 22 de Mzo. de 2022
我运行这个示例时,点击simulink的运行,等到左下角提示正在初始化,以及诊断窗口提示在虚幻引擎里点击play时,再点击虚幻引擎的play才能正常使用示例。如果只点击simulink的运行,一直不点击虚幻引擎的play,过几分钟就会有这个错误产生,应该是因为没有虚幻引擎的响应导致simulink认为连接没有建立。如果过早点击虚幻引擎的play可能也有问题,我没有尝试。
Steven Lord
el 22 de Mzo. de 2022
From Google Translate:
When I run this example, click simulink to run, wait until the bottom left corner prompts that it is initializing, and the diagnostic window prompts to click play in Unreal Engine, and then click Unreal Engine's play to use the example normally. If you only click on the run of simulink and do not click on the play of Unreal Engine, this error will occur after a few minutes. It should be because there is no response from Unreal Engine, which causes simulink to think that the connection has not been established. It might also be a problem if you hit Unreal Engine's play too early, which I didn't try.
Juri Stadler
el 10 de Feb. de 2022
0 votos
Updating Matlab 2020b to Version 7 worked for me.
Categorías
Más información sobre Simulink 3D Animation en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!