MATLAB爱好者论坛-LabFans.com

MATLAB爱好者论坛-LabFans.com (https://www.labfans.com/bbs/index.php)
-   MATLAB论坛 (https://www.labfans.com/bbs/forumdisplay.php?f=6)
-   -   MATLAB的换行的问题 (https://www.labfans.com/bbs/showthread.php?t=3877)

billwfox 2008-07-11 17:05

MATLAB的换行的问题
 
请问各位大虾,怎么才可以把命令窗口中的空白行去掉?
[COLOR="Red"][B]就是,把下面的内容[/B][/COLOR][CODE]
>> sample1
input the number of tape>round(sqrt(13))-1

items =

13


cost =

709


average_cost =

54.5385
[/CODE]

[COLOR="RoyalBlue"][B]转成[/B][/COLOR]

[CODE]
>> sample1
input the number of tape>round(sqrt(13))-1
items =
13
cost =
709
average_cost =
54.5385
[/CODE]

不知道应该怎么设置...........[COLOR="Red"][B]我觉得MATLAB默认的那种显示方法不太紧凑........[/B][/COLOR]谢谢。:lovely:

billwfox 2008-07-11 17:06

再次谢谢,第一贴..........
:smile:

未注册 2009-03-04 20:11

回复: MATLAB的换行的问题
 
输入format compact就可以了

wxw0827 2009-03-06 10:27

回复: MATLAB的换行的问题
 
file------preferences----command window-------右边有个text display------numeric display点下拉框,把loose改为 compact就可以了O(∩_∩)O~


所有时间均为北京时间。现在的时间是 05:03

Powered by vBulletin
版权所有 ©2000 - 2025,Jelsoft Enterprises Ltd.