An error occurred while running the UAV simple flight model example

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.

 采纳的回答

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 个评论

Thank you very much for the answer!!!.Also thank you for spending your precious time on helping others.

请先登录,再进行评论。

更多回答(1 个)

This is a known issue and you can find a workaround in the following bug report:

1 个评论

Thank you for spending your precious time in helping me resolve this simulation error.

请先登录,再进行评论。

产品

版本

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by