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

1 view (last 30 days)
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

Accepted Answer

Kelly Kearney
Kelly Kearney on 24 Oct 2013
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 Comment
John
John on 24 Oct 2013
Thank you, there happened to be a file in a third party toolbox that I have run at startup that calls this.

Sign in to comment.

More Answers (0)

Categories

Find more on Startup and Shutdown 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!