While Loop Matlab Iteration, The button can be used to pause and resume the loop.