Filter löschen
Filter löschen

scrolling down in command window

16 Ansichten (letzte 30 Tage)
stavanger
stavanger am 13 Dez. 2013
Kommentiert: Image Analyst am 13 Dez. 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

Akzeptierte Antwort

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

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (1)

Image Analyst
Image Analyst am 13 Dez. 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 Kommentare
stavanger
stavanger am 13 Dez. 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 am 13 Dez. 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/

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Entering Commands finden Sie in Help Center und File Exchange

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by