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?

1 件のコメント

cxm c
cxm c 2021 年 6 月 1 日
How to add the path of simstruc_types.h?

サインインしてコメントする。

カテゴリ

ヘルプ センター および File ExchangeBlock Libraries についてさらに検索

タグ

質問済み:

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