kickstart Matlab remotely using SSH

6 次查看(过去 30 天)
Alex
Alex 2012-8-30
Hi
I want to start matlab on a "remote" computer using SSH. However, I don't want to bring it to the local terminal. I just want to kickstart Matlab on the remote machine (i.e., the command window should open on the remote computer and not bring it to my local terminal).
I've tried to use ssh for this (ssh user@remotecomputer matlab) but it just brings up the splash image and it shutdown immediately after the splash is gone. I also added the option -t and it works but I want the local terminal to shut and close as soon as matlab starts on the remote machine (not to leave the terminal open while matlab is running). I also wrote a one-line .sh file (i.e., matlab &) and type (ssh user@remotecomputer startmatlab.sh) but it brings the matlab to my local machine. Those computers are connected to an ethernet switch (both computers are in the same room, network is isolated).
Ideas?
Thanks,

回答(1 个)

Jason Ross
Jason Ross 2012-8-30
编辑:Jason Ross 2012-8-30

Have you tried launching it with nohup?

nohup matlab

You could also try "screen", too. Or launching it inside a VNC session.

类别

Help CenterFile Exchange 中查找有关 Environment and Settings 的更多信息

标签

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by