In Matlab, I have a loop that performs operations on arrays. I would like to display an array at each iteration (for example, using "imagesc"), but without user intervention.
I can get Matlab to update the displayed shape by inserting the "pause" command after imagesc, but it needs to be canceled by pressing a key. Without the pause command, this number is not updated until the end of the cycle.
Is there a way to update the shape at each iteration of the loop?
source share