The expected behavior is numbers being displayed one by one with a 1-second delay. But what ends up happening is all of them are displayed at once after 10 seconds.
It is a well-known behavior (see #9). Try turning off "Unicode Switch" in the settings, and you should be able to see real-time output. Obviously, you will then be unable to see unicode characters in MATLAB output.
Here's an example:
The expected behavior is numbers being displayed one by one with a 1-second delay. But what ends up happening is all of them are displayed at once after 10 seconds.
system config: Matlab Interactive Terminal v0.4.0 Python 3.8.0 64-bit MATLAB R2020b