Why does my command window behave like Unix "more" command?

On my Mac OS 10.8.5, running Matlab R2012b, my command window has not been behaving normally for the past two days and I am not sure why or what setting to change to return it to normal behavior.
When I type anything into the command window the output is not displayed immediately, it requires a button press to see each line of output. It is similar to the Unix more command but it does not display the % that has been displayed it simply says --more--
For example if I type "a = [1;2];" what I expect to see a = 1 2
instead what I get it a = --more--
and I need to press a key, which reveals a = 1 --more--
and I press another key and get a = 1 2
If my output is more lines I have to press a key to view each key. It does this even when it would not be necessary for the window to scroll, if the prompt is at the top line it will still give this result.
Any ideas how to return the behavior to normal? I have never encountered this before. I do not see any settings in the preferences that would result in this behavior.
Thank you, John

 采纳的回答

Looks like you accidentally turned page output on, with 1 line per page. This would be activated via the command
more(1)
Perhaps you tried to access an element from an array called more, after it had been cleared?
You can set it back to normal via
more off

1 个评论

Thank you, there happened to be a file in a third party toolbox that I have run at startup that calls this.

请先登录,再进行评论。

更多回答(0 个)

类别

帮助中心File Exchange 中查找有关 Startup and Shutdown 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by