Linux ssh: can I redirect only the MATLAB plot windows with X-forwarding?
显示 更早的评论
I often use ssh -X (on Linux and MacOS) to run graphical programs remotely and see the output on my screen with X-forwarding.
I can run MATLAB like this, but it is slow as it is forwarding the entire MATLAB window.
Is there a way to run MATLAB on a remote machine using ssh -X, but only the plot windows are forwarded to my screen?
I use the following command to run MATLAB over ssh with no graphics:
matlab -nosplash -nodisplay
I'm a bit confused by all the relevant command line options for MATLAB in Linux. Which combination of these will forward only the plot windows?
-display Xdisplay - Send X commands to X server display, Xdisplay.
Linux only.
-nodisplay - Do not display any X commands. The MATLAB
desktop will not be started. However, unless
-nojvm is also provided the Java virtual machine
will be started.
-noFigureWindows - Disables the display of figure windows in MATLAB.
-nosplash - Do not display the splash screen during startup.
-desktop - Allow the MATLAB desktop to be started by a
process without a controlling terminal. This is
usually a required command line argument when
attempting to start MATLAB from a window manager
menu or desktop icon.
-nodesktop - Do not start the MATLAB desktop. Use the current
terminal for commands. The Java virtual machine
will be started.
-nojvm - Shut off all Java support by not starting the
Java virtual machine. In particular the MATLAB
desktop will not be started.
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Startup and Shutdown 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!