How to ignore auto-generated "multiword_types.h" and "rtwtypes.h" from compilation?
이전 댓글 표시
Hello all,
I'm using an external C code in Simulink, and whenever I build this code, the coder generates "multiword_types.h" and "rtwtypes.h" files within the following path:
".\slprj\_sfprj\<FileName>\_self\sfun\src\"
Where <FileName> is the name of the file that contains the c-code call
The issue is: I already have rtwtypes.h and multiword_types.h within the c-code files I'm trying to import, and now the compiler is finding both definitions of the file and it's deciding to use the one that is auto-generated by simulink (".\slprj\_sfprj\<FileName>\_self\sfun\src\" folder)
Is there a workaroud for this? maybe a way to avoid autogenerating those files or maybe changing the priority of usage within the compiler? I'm out of ideas already.
Thank you very much
답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Simulink Compiler에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!