Azzera filtri
Azzera filtri

scrolling down in command window

16 visualizzazioni (ultimi 30 giorni)
stavanger
stavanger il 13 Dic 2013
Commentato: Image Analyst il 13 Dic 2013
Hi everyone. I remember a time when users could scroll down in command window and open free space beneath the last typed line. I use 2010b version. It seems users doomed to type at the bottom of command window or use clc to bring back to the top of the page which is not a good choice. Is it possible to scroll down in command window and bring back to the top of page without using clc and clearing valuable texts and commands? It's a pain to just look at the end of command window. Thanks in advance

Risposta accettata

Sean de Wolski
Sean de Wolski il 13 Dic 2013
Are you looking for the home command?
>> home
This will look like clc but will not clear out the command window.
  1 Commento
stavanger
stavanger il 13 Dic 2013
Yes. This helps a lot. Thanks. Turns around the problem

Accedi per commentare.

Più risposte (1)

Image Analyst
Image Analyst il 13 Dic 2013
It appears all you can do is to hit enter to scroll the previous command window content upwards. But then it puts >> in there - it's not just blank space.
I almost always just type my code into a text editor window though. I rarely use the command window except to type a command or two while debugging and don't really care what the command window looks like. Though I do put the "format compact" into my scripts so that it doesn't use as many blank lines when outputting stuff. If you want precise control over what your command window looks like, you can write a script and use fprintf().
  2 Commenti
stavanger
stavanger il 13 Dic 2013
Thanks. But I have no idea how to do this. A text editor which is matched by Matlab? Or writing a script. I have to read up on the subject.
Image Analyst
Image Analyst il 13 Dic 2013
See this to get up to speed quickly on writing and debugging scripts: http://blogs.mathworks.com/videos/2012/07/03/debugging-in-matlab/

Accedi per commentare.

Categorie

Scopri di più su Entering Commands in Help Center e File Exchange

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by