Generating C Code from a Simulink Model