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!