MATLAB: S Function Builder – To implement existing C code

s-functionsimulink

Hello,
I am working on Simulink, S-Function Builder Block. I have a query about that, to explain in brief.
I have a working C code, I have to implement this C code somehow in S-Function Builder block so that the code uses the real-time values from inputs and gives the necessary output according to the action of C code.
My question is where exactly to implement this C code ??
I hope you understand my question, please give me the possible solution.

Best Answer

Related Question