Auto Scrolling in LiveScript output

19 visualizaciones (últimos 30 días)
Mason Turvey
Mason Turvey el 21 de Oct. de 2020
Respondida: Jared MacDonald el 2 de Mzo. de 2021
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 comentarios
Andreas
Andreas el 13 de Nov. de 2020
Very interested in a solution for this specific issue as well!
Chris Kloppers
Chris Kloppers el 24 de Dic. de 2020
I have the same issue :(

Iniciar sesión para comentar.

Respuestas (1)

Jared MacDonald
Jared MacDonald el 2 de Mzo. de 2021
Hi Mason,
You can turn this off by right-clicking in the outputs area and selecting "Disable Synchronous Scrolling":
Jared

Categorías

Más información sobre Genetic Algorithm en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by