Using the C Function Block to Integrate Custom Code in Simulink