필터 지우기
필터 지우기

scrolling down in command window

조회 수: 16 (최근 30일)
stavanger
stavanger 2013년 12월 13일
댓글: Image Analyst 2013년 12월 13일
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
stavanger
stavanger 2013년 12월 13일
Yes. This helps a lot. Thanks. Turns around the problem

댓글을 달려면 로그인하십시오.

추가 답변 (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.
Image Analyst
Image Analyst 2013년 12월 13일
See this to get up to speed quickly on writing and debugging scripts: http://blogs.mathworks.com/videos/2012/07/03/debugging-in-matlab/

댓글을 달려면 로그인하십시오.

카테고리

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