Effacer les filtres
Effacer les filtres

Cancel the auto scroll down in the command window

31 vues (au cours des 30 derniers jours)
d
d le 17 Jan 2019
Commenté : Walter Roberson le 17 Jan 2019
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.

Réponses (1)

madhan ravi
madhan ravi le 17 Jan 2019
It's not normal , by any chance are you using matlab mobile? it happens for me too , guess it's by default.
  4 commentaires
d
d le 17 Jan 2019
I don't remember what I did, I think it was some option in the preference, but not sure.
Walter Roberson
Walter Roberson le 17 Jan 2019
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.

Connectez-vous pour commenter.

Catégories

En savoir plus sur Interactive Control and Callbacks dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by