scrolling down in command window

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

Are you looking for the home command?
>> home
This will look like clc but will not clear out the command window.

1 Comment

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

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.
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

Products

Community Treasure Hunt

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

Start Hunting!