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.

回答 (1 件)

madhan ravi
madhan ravi 2019 年 1 月 17 日

0 投票

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

4 件のコメント

d
d 2019 年 1 月 17 日
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.
madhan ravi
madhan ravi 2019 年 1 月 17 日
"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?
d
d 2019 年 1 月 17 日
I don't remember what I did, I think it was some option in the preference, but not sure.
Walter Roberson
Walter Roberson 2019 年 1 月 17 日
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.

サインインしてコメントする。

カテゴリ

ヘルプ センター および File ExchangeProgramming についてさらに検索

質問済み:

d
d
2019 年 1 月 17 日

コメント済み:

2019 年 1 月 17 日

Community Treasure Hunt

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

Start Hunting!

Translated by