An error occurred while running the UAV simple flight model example

3 次查看(过去 30 天)
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.

采纳的回答

Priysha LNU
Priysha LNU 2020-10-6
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 个)

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

产品


版本

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by