Cancel the auto scroll down in the command window

My code includes the disp() function inside a loop, so at the command window it displays a lot of lines.
When I scroll-up to see the lines out of screen matlab automatically scrolls-down to the last executed line.
I remember that in the past I was able to cancel this functionality but now I cant find it.
can someone expline me how?
thanks.

Risposte (1)

It's not normal , by any chance are you using matlab mobile? it happens for me too , guess it's by default.

4 Commenti

No, I use it on the PC (ver R2016B). This behavior is default in all versions I worked so far, but I want to disable this option.
"I remember that in the past I was able to cancel this functionality but now I cant find it."
Can you share how you did that , so we can find the alternatives?
I don't remember what I did, I think it was some option in the preference, but not sure.
I do not know of any way of turning off the auto-scroll. It always happens when output is being displayed but you are not at the bottom of the command window. What I end up doing is clicking on the scroll bar and not letting go, but that does not work very well if you need to scroll more than a few lines at the position of interest.

Accedi per commentare.

Categorie

Scopri di più su Programming in Centro assistenza e File Exchange

Richiesto:

d
d
il 17 Gen 2019

Commentato:

il 17 Gen 2019

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by