title: How can I use C generated code from Simulink into a MATLAB script
body: <p>Here is my problem: We would like to use our different Simulink models within a script in a much faster way than having to open the Simulink environment (our MATLAB script using Simulink is launched many time).</p>
  
  <p>For that purpose, I want to transform the Simulink model into a C version and launch it from a MATLAB script so that the process would be much faster than opening Simulink environment.</p>
  
  <p>Does anyone have already tried this ? Is it possible ? It is unclear to me if I should try to construct an MEX-file from the C code generated with Simulink coder, or if I should use this coder.ceval function to directly run the C code ?</p>