Remote MATLAB with Java support

4 vues (au cours des 30 derniers jours)
Daniel Dolan
Daniel Dolan le 25 Jan 2013
I am trying to launch MATLAB on a workstation with the Parallel Computing Toolbox (2012a) from a laptop. I can ssh to the workstation and start MATLAB in two ways, but neither is fully functional. Using the -nodesktop option, the command window is displayed on the laptop and I can use the matlabpool command, but all figures appear on the workstation. If I launch with the -nojvm option, figures are displayed on the laptop (X11 forwarding has been worked out) but I can't use matlabpool because Java has been disabled.
Is there a way to have graphics forwarding while retaining Java support?

Réponse acceptée

Jason Ross
Jason Ross le 25 Jan 2013
Why not just start MATLAB normally with the display forwarded? The main window will display and the figure windows will be forwarded. The huge downside is that if (when :)) your session is interrupted, you'll lose the desktop and figure windows and not be able to reconnect. For that case, VNC is likely a better option since you can reconnect later and not lose anything.
  1 commentaire
Daniel Dolan
Daniel Dolan le 25 Jan 2013
It would seem that VNC is the best option for my purpose.

Connectez-vous pour commenter.

Plus de réponses (1)

Shashank Prasanna
Shashank Prasanna le 25 Jan 2013
You can just save your figures to a file and copy/scp them to your laptop? Other alternatives I can see are VNC.

Catégories

En savoir plus sur Startup and Shutdown dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by