Generating C code from Simulink

hey folks!
I'm new to the world of Arduino. I nmeed some clarity regarding generating C code from Simulink that can later be downloaded into Arduino Board. Is there any way that I cn write some lines of code in IDE and can later include the Simulink generated code without any changes to the former sketch

need help

thanx
chiru

Isn't Simulink code similar to C code? :\

Can't you port it manually? Maybe you could put some code here.

even i'm expecting some help on that topic. I'm just aware that there are ways to do so. i didnt even try. but a simulink model can me converted to C code using Realtime Coder in Matlab and can download to Arduino through Arduino Target connecting Matlab and Arduino Board