I would like to set up a counter that informs me about a long iterative computation (e.g. in for).
Is it possible to set up this counter in a way that when it is updated on screen, it replaces the previous value?
That is, printing the iterator variable of a for is not ok, since Matlab either prints it into a new line, or after the previous value, but after 10000 iterations the screen would be filled either way. Also, I would like to update the counter in each turn.
1 Answer