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 Exchange에서 Block 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