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.

 Respuesta aceptada

Priysha LNU
Priysha LNU el 6 de Oct. de 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 comentario

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

Iniciar sesión para comentar.

Más respuestas (1)

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

1 comentario

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

Iniciar sesión para comentar.

Productos

Versión

R2020b

Preguntada:

el 2 de Oct. de 2020

Comentada:

el 14 de Oct. de 2020

Community Treasure Hunt

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

Start Hunting!

Translated by