Clear Filters
Clear Filters

Cancel the auto scroll down in the command window

31 views (last 30 days)
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.

Answers (1)

madhan ravi
madhan ravi on 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 Comments
d
d on 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 on 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.

Sign in to comment.

Categories

Find more on Interactive Control and Callbacks in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!