Simulink C caller block can't compile C code, but other blocks can
이전 댓글 표시
I'm programming a TI C2000 processor (the F28379D Delfino) using Simulink and I can't get the C caller block to compile any code for my TI board. When I compile C code with the C caller I get the error "F28x_Project.h does not exist." However, I can compile and run the exact same code from a memory read block, so I've been using that as a workaround. Does anyone know why the C caller would have trouble working with the TI header files? Does it compile C differently from the memory copy block? I've tried declaring the header file various ways and making sure it's in the correct directory, and I know it is because the memory copy block compiles my code.
Thanks for any suggestions.
채택된 답변
추가 답변 (1개)
Venkatesh Chilapur
2019년 6월 25일
0 개 추천
Hi Matthew,
Please can you attach the model to help us investigate further.
Regards,
Venkatesh C
댓글 수: 2
Matthew Gingerich
2019년 6월 27일
Mukesh Ghosh
2021년 12월 14일
Hello,
I am facing the same problem. Is someone find the solution of this problem? When I run my C caller block from .slx, it shows me Matlab could not find header files which is link to microcontrolller. How to solve this problem?
Kind regards
Mukesh Ghosh
카테고리
도움말 센터 및 File Exchange에서 Integrate C Code Using C Caller Blocks에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!