how to fix this bug
Show older comments
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 >>
Answers (1)
Kaustubha Govind
on 14 Dec 2011
0 votes
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 Comment
cxm c
on 1 Jun 2021
How to add the path of simstruc_types.h?
Categories
Find more on Block Libraries in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!