Auto Scrolling in LiveScript output

18 ビュー (過去 30 日間)
Mason Turvey
Mason Turvey 2020 年 10 月 21 日
回答済み: Jared MacDonald 2021 年 3 月 2 日
I am currently writing a livescript for a genetic algorithm, and it outputs a text status showing every generation it completes. After about 50 lines of output, the text output region in the livescript becomes scrollable, however, every time another output is addded it automatically scrolls to the top of the output region instead of showing the latest output at the bottom, and whenever I scroll down in the output region to see the latest output, it ignores my mouse input and auto scrolls to the top, which is very annoying.
Is there any way to circumvent this behavior?
Yes, I could just use a normal .m file to run the program and view output in the command window, but I want the nice PDF layout from the .mlx format, so I'd like to figure this specific situation out.
  2 件のコメント
Andreas
Andreas 2020 年 11 月 13 日
Very interested in a solution for this specific issue as well!
Chris Kloppers
Chris Kloppers 2020 年 12 月 24 日
I have the same issue :(

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

回答 (1 件)

Jared MacDonald
Jared MacDonald 2021 年 3 月 2 日
Hi Mason,
You can turn this off by right-clicking in the outputs area and selecting "Disable Synchronous Scrolling":
Jared

カテゴリ

Help Center および File ExchangeGenetic Algorithm についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by