- type the commands in the editor (scrap function or script)
- use cell mode
Fix Command Window to Accept Input from Top Down
1 次查看(过去 30 天)
显示 更早的评论
Hello,
| CW | ED | WS | CW = Command Window
| | | | ED = Editor
| | |------| WS = Workspace
| | | CF | CF = Current Folder
| | | |
Above is how I have my workspace setup. So I start typing on the top left in the command window, and as output comes out/I continue typing it starts to go down until eventually Im typing right above the start menu. I moved it ot the left because the same thing happened on the right but dropbox notifications frequently obscured it.
My question is How do I make it so that in the command window, Im typing on the top and all output appears below it? In other words, my typing/new commands always stays on the top of the window, as opposed to dropping down?
Thanks!
0 个评论
回答(2 个)
per isakson
2013-7-19
编辑:per isakson
2013-7-19
Matlab doesn't work that way. However, you can achieve a similar result (user experience) the following way:
I do that a lot.
By typing in the editor you build a history without typos. (You don't display the History window.)
0 个评论
Matt J
2013-7-19
编辑:Matt J
2013-7-19
In other words, my typing/new commands always stays on the top of the window, as opposed to dropping down
Even if that were possible, you would be wasting a lot of screen space much of the time. Basically, with what you're asking for, you would only ever see the most recent output in the window, as if the CLC command were automatically done after every command. Unless it were a long output, most of the window would be blank.
Seems like the better solution is just to resize the command window so that the lower edge is sufficiently above the bottom of the screen, where notifications can't overlap it. You would waste less window that way.
2 个评论
Matt J
2013-7-19
Would it? You never said how what you would want the behavior to be when displaying of previous commands and their outputs. Anyway, I don't think it's possible.
And again, resizing the MATLAB window seems the easiest solution if this whole thing is indeed motivated simply by a desire to prevent taskbar notifications from blocking your view.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Loops and Conditional Statements 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!