scrolling down in command window

16 次查看(过去 30 天)
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

采纳的回答

Sean de Wolski
Sean de Wolski 2013-12-13
Are you looking for the home command?
>> home
This will look like clc but will not clear out the command window.

更多回答(1 个)

Image Analyst
Image Analyst 2013-12-13
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 个评论
stavanger
stavanger 2013-12-13
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.

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Entering Commands 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by