kickstart Matlab remotely using SSH

1 visualización (últimos 30 días)
Alex
Alex el 30 de Ag. de 2012
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,

Respuestas (1)

Jason Ross
Jason Ross el 30 de Ag. de 2012
Editada: Jason Ross el 30 de Ag. de 2012

Have you tried launching it with nohup?

nohup matlab

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

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by