b*****l 发帖数: 9499 | 1 这个。
奇怪啊,为啥现在可以了涅?
btw,我现在用得是 -nodesktop -nosplash -nodisplay,过去是 -nojvm -nosplash -
nodisplay
等我再用一段时间哈。
,罗 |
|
D******n 发帖数: 2836 | 2 matlab -nojvm -nosplash -nodisplay &outerr
if u wanna run a matlab function with arguments(e.g aaa)
(matlab -nojvm -nosplash -nodisplay -r "xxx('aaa')" >out&)>&err
google |
|
J*****a 发帖数: 12 | 3 run the installer with -h option to see ...
at least on solaris, the installer support -nodisplay and -noconsole options. |
|
l******a 发帖数: 3803 | 4 Yeah I can now.
Trick:
in Linux, start Matlab by:
matlab -nodisplay
in your matlab code,
make every figure's 'Visible' setting to 'off'.
Then you're good to go. |
|
b*****l 发帖数: 9499 | 5 用 -nodesktop -nosplash -nodisplay 起来 matlab,执行这个命令:
h = figure, plot(0:0.01:10, sin(0:0.01:10));
saveas(h, 'test.fig', 'fig');
saveas(h, 'test.jpg', 'jpg');
死在第二句执行完,第三句不知道是否执行的地方。
用 R2009b 的同学来验证一下?多谢多谢。 |
|
b*****l 发帖数: 9499 | 6 这样死的:
$ matlab -nodesktop -nosplash -nodisplay
Warning: No window system found. Java option 'MWT' ignored
< M A T L A B (R) >
Copyright 1984-2009 The MathWorks, Inc.
Version 7.9.0.529 (R2009b) 64-bit (glnxa64)
August 12, 2009
To get started, type one of these: helpwin, helpdesk, or demo.
For product information, visit www.mathwor |
|
A******g 发帖数: 612 | 7 try
matlab -nodisplay -nodesktop -nojvm < yourscript.m > output & |
|
l****g 发帖数: 1922 | 8 用matlab在linux上画图,不是可以不用GUI么? 我感觉matlab在linux下面的崩溃,
多半是java虚拟机造成的,
所以一般我都是加 -nojvm -nodisplay运行matlab画图的。 |
|
TN 发帖数: 1870 | 9 matlab -nodisplay -nosplash \< your_m_file.m |
|
TN 发帖数: 1870 | 10 matlab -nodisplay -nosplash < your_m_file.m |
|
u********e 发帖数: 263 | 11 bingo!
many loops can be replaced by vectorization. least square regression is just
product of several matrices.
and also always set the size of your matrix before the loop starts.
and try to run matlab with -nodisplay option. i sometimes feel it's faster. |
|