how to fix this bug

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 >>

回答(1 个)

Kaustubha Govind
Kaustubha Govind 2011-12-14

0 个投票

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?

标签

提问:

2011-12-14

评论:

2021-6-1

Community Treasure Hunt

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

Start Hunting!

Translated by