An error occurred while running the UAV simple flight model example
8 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Neipor Laloo
le 2 Oct 2020
Commenté : Neipor Laloo
le 14 Oct 2020
while try running the Uav simple flight model the following errors occours
Windows cannot find 'C/Program'.Make sure you typed the name correctly, and then try again.
and this below appear in the Matlab diagnostic viewer
MATLAB System block 'uav_simple_flight_model/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.
How do i fix this issues?
Any help will/would be appreciated.
Thanks.
0 commentaires
Réponse acceptée
Priysha LNU
le 6 Oct 2020
This issue is potentially caused by spaces in the Windows "%temp%" directory path. Once your Windows "%temp%" directory path does not have a space, the simulation should be able to execute without error. Spaces in the Windows "%temp%" directory may be caused by spaces in the Windows username.
Here "C:\Program Files\" seems to contain a space character. Changing to a directory without the "space character" in the path might help resolve this issue.
DISCLAIMER: These are my own views and in no way depict those of MathWorks.
Plus de réponses (1)
Remo Pillat
le 6 Oct 2020
This is a known issue and you can find a workaround in the following bug report:
Voir également
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!