An error occurred while running the UAV simple flight model example
10 views (last 30 days)
Show older comments
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 Comments
Accepted Answer
Priysha LNU
on 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.
More Answers (1)
Remo Pillat
on 6 Oct 2020
This is a known issue and you can find a workaround in the following bug report:
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!