In Matlab, I have a loop that performs operations on arrays. I would like to display the array at each iteration (using "imagesc" for instance), but without needing user intervention.
I can force Matlab to update the displayed figure by inserting the command "pause" after imagesc, but it needs to be dismissed by a key press. Without the "pause" command, the figure is not updated before the end of the loop.
Is there a way to update the figure at each iteration of the loop ?