Arduino Loop Through Array Matlab Simulink