Borrar filtros
Borrar filtros

fatal error: rtwtypes.h: No such file or directory #include "rtwtypes.h"

71 visualizaciones (últimos 30 días)
D D
D D el 29 de Jun. de 2023
Respondida: Divyanshu el 4 de Sept. de 2024 a las 6:34
My model has some reference model in accelerator mode. When I update the model, I get the error
fatal error: rtwtypes.h: No such file or directory #include "rtwtypes.h"
But when I check this file is available n slprj\sim\_sharedutils folder.. But compiler does not identify it..
I am using 'MinGW64 Compiler (C)' for C language compilation.
Could some one please help me with this
  2 comentarios
Angelo Yeo
Angelo Yeo el 4 de Jul. de 2023
Movida: Angelo Yeo el 31 de Ag. de 2024
Can you check if you included path for headers in the referenced model? You can refer to the official doc Include directories for further information.
蔡
el 31 de Ag. de 2024
Movida: Angelo Yeo el 31 de Ag. de 2024
I'm having this issue as well, and the file is already in my path

Iniciar sesión para comentar.

Respuestas (1)

Divyanshu
Divyanshu el 4 de Sept. de 2024 a las 6:34
Hello @D D,
I faced a similar issue "fatal error: rtwtypes.h: No such file or directory". The reason was compiler not recognizing the path correctly.
I retried the workflow from a different folder which does not contain any non-ascii character, such as directly from C drive.
Working from C drive resolved the issue for me.
Hope it helps!

Productos


Versión

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by