Hello everyone I have a model in simulink and convert it in C-code thanks for Embedded coder. I debug it in CCS 6.0 and it works fine. Now I need to add S-function in my model. It still converts witout errors in matlab, but in CCS I had nomerouse errors.I tried to use decision described below: 1) translate.google.ru/translate 2) stackoverflow.com/.../compiling-s-functions-for-matlab As described in (1) I add all preprocessing simbols from file "defines.txt"(from matlab`s generated code)
in CCS project`s properties (C/C++ General-->Paths and Symbols) but I still have same errors)
It happens every time I use S-function, no matter how simpe model or function is.
I am sure I made a mestake in principle of conversion code with S-function from matlab to CCS but I don`t understand where.
Thank you for any help.
Best Regards,
Andrey


