kickstart Matlab remotely using SSH

1 回表示 (過去 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 Center および File ExchangeWhos についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by