MATLAB code with varius Arduino MicroController functions