C code won't compile for C caller but will run in other blocks
조회 수: 2 (최근 30일)
이전 댓글 표시
I have some custom C code that gets added to a Simulink program and then programmed into a TI C2000 processor using Embedded Coder. Last week I created a C caller block that calls my C function and it worked fine. This week when I try to run the program with the C caller I get the error "No such file or directory" for many important header files. Adding the directories of these header files to the include paths just produced more errors. However, I can still run my C function by calling it from the Startup Initialization block. This indicates that the C code is fine, and the headers are fine-- It's only the C function caller that doesn't understand my code. I didn't change any settings since I had the C function caller working last week so I don't understand why it would stop working. Can anyone help me figure this out?
댓글 수: 0
답변 (1개)
Venkatesh Chilapur
2019년 5월 13일
Hi Matthew,
Please try contacting MathWorks support at:
Regards,
Venkatesh C
댓글 수: 0
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!