C code won't compile for C caller but will run in other blocks
1 view (last 30 days)
Show older comments
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 Comments
Answers (1)
Venkatesh Chilapur
on 13 May 2019
Hi Matthew,
Please try contacting MathWorks support at:
Regards,
Venkatesh C
0 Comments
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!