由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Linux版 - Matlab commandline
相关主题
matlab text-mode figure 是这么死的fedora 15 is so much mac shit
哪个带X的linux比Win2000快?请教一个linux下面matlab的问题
ubuntu下怎么sync and backup files ?原来MAC是BSD的一支?
network problem同样是*nix,Apple的图形界面就非常精致
Unix-Center.Net需要您的帮助ubuntu花屏问题 【求助】
怎么样远程打开一个有GUI的程序?--gnuplot无法用tab键自动补齐
MATLAB 2009 on RHEL5怪事
/root里都有些啥?如何用commandline访问共享文件夹
相关话题的讨论汇总
话题: matlab话题: computer话题: run话题: r2009b
进入Linux版参与讨论
1 (共1页)
l******a
发帖数: 3803
1
有没有这样的可能:
在一台UNIX上SSH到一台Linux,然后运行Matlab commandline
(no GUI), 运行一个已写的Matlab程序作图并存起来。
因为Matlab是命令行运行的,是不是没这个可能?
或者有什么trick?
E*V
发帖数: 17544
2
yes you can

【在 l******a 的大作中提到】
: 有没有这样的可能:
: 在一台UNIX上SSH到一台Linux,然后运行Matlab commandline
: (no GUI), 运行一个已写的Matlab程序作图并存起来。
: 因为Matlab是命令行运行的,是不是没这个可能?
: 或者有什么trick?

l******a
发帖数: 3803
3

谢谢!
比如,ssh然后matlab -nodesktop.
用plot(xxxxx,xx)画图,然后,
imwrite存起来。
这样的话,figure是不是看不见?
但能存起来?

【在 E*V 的大作中提到】
: yes you can
E*V
发帖数: 17544
4
why don't you just try it out?
it is not hard

【在 l******a 的大作中提到】
:
: 谢谢!
: 比如,ssh然后matlab -nodesktop.
: 用plot(xxxxx,xx)画图,然后,
: imwrite存起来。
: 这样的话,figure是不是看不见?
: 但能存起来?

l******a
发帖数: 3803
5

I will, thank you!

【在 E*V 的大作中提到】
: why don't you just try it out?
: it is not hard

l******a
发帖数: 3803
6

not working - tried.
saveas() not working.

【在 E*V 的大作中提到】
: why don't you just try it out?
: it is not hard

b*****l
发帖数: 9499
7
yes, you could, but no, you can't
打倒 matlab~~~ 新版本不再支持这个功能了。害得我非得 vnc。。。 nnd,现在 vnc
都不成了。。。
想当年多爽啊,在本地 ssh 过去,在服务器上 screen,再 samba 回本地,存成 jpg,
eps, fig 各一份,直接看 jpg。
唉,唉。

【在 E*V 的大作中提到】
: yes you can
b*****l
发帖数: 9499
8
不是 imwrite,用 savevas。

【在 l******a 的大作中提到】
:
: not working - tried.
: saveas() not working.

E*V
发帖数: 17544
9
are you sure?
I always do that

【在 l******a 的大作中提到】
:
: not working - tried.
: saveas() not working.

E*V
发帖数: 17544
10
你们用那过版本?我现在再是一下阿

【在 b*****l 的大作中提到】
: 不是 imwrite,用 savevas。
相关主题
怎么样远程打开一个有GUI的程序?--fedora 15 is so much mac shit
MATLAB 2009 on RHEL5请教一个linux下面matlab的问题
/root里都有些啥?原来MAC是BSD的一支?
进入Linux版参与讨论
E*V
发帖数: 17544
11
version r2008b
successful

【在 E*V 的大作中提到】
: 你们用那过版本?我现在再是一下阿
b*****l
发帖数: 9499
12
R2009b

【在 E*V 的大作中提到】
: 你们用那过版本?我现在再是一下阿
E*V
发帖数: 17544
13
kao!

【在 b*****l 的大作中提到】
: R2009b
b*****l
发帖数: 9499
14
嗯,嗯。
>> version
ans =
7.9.0.529 (R2009b)
痛骂 matlab!

【在 E*V 的大作中提到】
: kao!
E*V
发帖数: 17544
15
好,打死我也不升级

【在 b*****l 的大作中提到】
: 嗯,嗯。
: >> version
: ans =
: 7.9.0.529 (R2009b)
: 痛骂 matlab!

l******a
发帖数: 3803
16
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
17
呵呵,理论上可行,事实上不可行。细节记不清了,好象是和 jvm 有关。

【在 l******a 的大作中提到】
: 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.

l******a
发帖数: 3803
18

?? wat u meant?
I just did it:)
btw, jvm is on.
The reason matlab is used this way is, it will be run on a data acquisition computer. while the computer will mostly run its application recording data.But then some intermediate check needed:
so we need to remotely run a matlab process to check current settings.
So, as little intrusive as possible.

【在 b*****l 的大作中提到】
: 呵呵,理论上可行,事实上不可行。细节记不清了,好象是和 jvm 有关。
E*V
发帖数: 17544
19
version?

acquisition computer. while the computer will mostly run its application
recording data.But then some intermediate check needed:

【在 l******a 的大作中提到】
:
: ?? wat u meant?
: I just did it:)
: btw, jvm is on.
: The reason matlab is used this way is, it will be run on a data acquisition computer. while the computer will mostly run its application recording data.But then some intermediate check needed:
: so we need to remotely run a matlab process to check current settings.
: So, as little intrusive as possible.

b*****l
发帖数: 9499
20
我再试一试,等再碰到问题时贴上来。。。

acquisition computer. while the computer will mostly run its application
recording data.But then some intermediate check needed:

【在 l******a 的大作中提到】
:
: ?? wat u meant?
: I just did it:)
: btw, jvm is on.
: The reason matlab is used this way is, it will be run on a data acquisition computer. while the computer will mostly run its application recording data.But then some intermediate check needed:
: so we need to remotely run a matlab process to check current settings.
: So, as little intrusive as possible.

相关主题
同样是*nix,Apple的图形界面就非常精致怪事
ubuntu花屏问题 【求助】如何用commandline访问共享文件夹
gnuplot无法用tab键自动补齐segmentation fault as soon as entering 1 function in the ar (转载)
进入Linux版参与讨论
b*****l
发帖数: 9499
21
那啥,我验证,的确 work。。。
nnd,当时是啥不 work 来着,matlab 还有一个提示,说该功能在新版本的 text-mode
下不再支持。。。 我当时还跑到这里控诉来着。。。 等我碰见了贴过来哈。

【在 E*V 的大作中提到】
: version?
:
: acquisition computer. while the computer will mostly run its application
: recording data.But then some intermediate check needed:

l******a
发帖数: 3803
22

version 7.9.0.529 (R2009b)

【在 E*V 的大作中提到】
: version?
:
: acquisition computer. while the computer will mostly run its application
: recording data.But then some intermediate check needed:

o**n
发帖数: 1249
23
why do you need jvm. I always run matlab -nojvm -nosplash
just lose documentation

【在 b*****l 的大作中提到】
: 呵呵,理论上可行,事实上不可行。细节记不清了,好象是和 jvm 有关。
b*****l
发帖数: 9499
24
i used to use nojvm also, but now in R2009 jvm is required.

【在 o**n 的大作中提到】
: why do you need jvm. I always run matlab -nojvm -nosplash
: just lose documentation

1 (共1页)
进入Linux版参与讨论
相关主题
如何用commandline访问共享文件夹Unix-Center.Net需要您的帮助
segmentation fault as soon as entering 1 function in the ar (转载)怎么样远程打开一个有GUI的程序?--
linux还是难搞。MATLAB 2009 on RHEL5
有没有谁成功的在router下面用exceed的?/root里都有些啥?
matlab text-mode figure 是这么死的fedora 15 is so much mac shit
哪个带X的linux比Win2000快?请教一个linux下面matlab的问题
ubuntu下怎么sync and backup files ?原来MAC是BSD的一支?
network problem同样是*nix,Apple的图形界面就非常精致
相关话题的讨论汇总
话题: matlab话题: computer话题: run话题: r2009b