how to fix this bug
"rtwtypes.h", line 16: fatal error: could not open source file "simstruc_types.h" 1 fatal error detected in the compilation of "otro.c". Compilation terminated.
>> Compilation failure gmake: * [otro.obj] Error 1 >>

Antworten (1)

Kaustubha Govind
Kaustubha Govind am 14 Dez. 2011

0 Stimmen

Check if you see simstruc_types.h under $matlabroot/simulink/include/simstruc_types.h on your computer, where $matlabroot is the MATLAB installation file. Also, turn on "Verbose build" from the Code Generation pane of the Configuration Parameters window to see the exact compiler command that is being used. Is the above folder included in the -I option?

1 Kommentar

cxm c
cxm c am 1 Jun. 2021
How to add the path of simstruc_types.h?

Melden Sie sich an, um zu kommentieren.

Kategorien

Tags

Gefragt:

am 14 Dez. 2011

Kommentiert:

am 1 Jun. 2021

Community Treasure Hunt

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

Start Hunting!

Translated by