scrolling down in command window

18 views (last 30 days)
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

Accepted Answer

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

Sign in to comment.

More Answers (1)

Image Analyst
Image Analyst on 13 Dec 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 Comments
stavanger
stavanger on 13 Dec 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 on 13 Dec 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/

Sign in to comment.

Categories

Find more on Entering Commands in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!