Added code for simulink-arduino control.