Arduino and Matlab code