MATLAB: How can i convert C Code to Simulink Models

c/c++MATLABsimulink

If i have an existing C code, is there a way to convert it to Simulink Models??

Best Answer

You can use s-functions.
The link below explains with various examples on how to go about it.
Related Question