An error occurred while running the UAV simple flight model example

8 views (last 30 days)
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
Caused by:
  • 3D simulation engine interface setup error.
How do i fix this issues?
Any help will/would be appreciated.
Thanks.

Accepted Answer

Priysha LNU
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.
  1 Comment
Neipor Laloo
Neipor Laloo on 14 Oct 2020
Thank you very much for the answer!!!.Also thank you for spending your precious time on helping others.

Sign in to comment.

More Answers (1)

Remo Pillat
Remo Pillat on 6 Oct 2020
This is a known issue and you can find a workaround in the following bug report:

Products


Release

R2020b

Community Treasure Hunt

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

Start Hunting!