While Loop Through Array Matlab Simulink Student Version