I am trying to run the MATLAB through ssh on a remote cluster. When i type matlab in the terminal it just opens the MATLAB command line in the terminal environment. My question is there any way that i can have access to the MATLAB GUI as well?
相关问题
- Extract matrix elements using a vector of column i
- JavaScript File Transfer SSH
- JFX scale image up and down to parent
- How do you get R's null and residual deviance
- How to display an image represented by three matri
相关文章
- Check if directory exists on remote machine with s
- Git Clone Fails: Server Certificate Verification F
- How do I append metadata to an image in Matlab?
- Algorithm for maximizing coverage of rectangular a
- Is there a way to hide the new HTML5 spinbox contr
- Can keyboard of type UIKeyboardTypeNamePhonePad be
- PropertyGrid - Possible to have a file/directory s
- Programming a touch screen application with SWING
Yes you can get the GUI to show up. You need (i) an X-windows system running on your local machine and (ii) to use the -X option for ssh to enable X11 forwarding. More detailed answer:
echo $DISPLAY
returns/private/tmp/com.apple.launchd.y9pXfRNnTu/org.macosforge.xquartz:0
If DISPLAY environmental variable isn't set, you probably need to get an X-server properly installed (eg. for Mac OS X it is X11.app).ssh -X username@remotehost.com
where username and remotehost are your username and the remote host name respectively. With the -X option, SSH will make it all magically work: ssh will set the DISPLAY environmental variable on the remote machine to a port ssh is listening to and channel the graphics data back to back to the address in your local DISPLAY environmental variable, which should point to your local X-server.Btw, unless you're RIGHT next to the cluster networking wise, this is likely to be !@#$!@#$ slow & annoying. If you're a student, I'd highly recommend ponying up and getting a student edition of Matlab so you can run the GUI locally. Student version isn't that expensive.
You can not only with SSH. You may be interested in VNC. But, do you absolutely need a GUI?
Moreover, what about using MATLAB on your own computer? If it is a license problem, you should give a try to GNU Octave that is free/libre, gratis and cross-platform.