Is it possible to send plots to multiple computers from the same matlab session in Linux?

2 views (last 30 days)
Louis Arney
Louis Arney on 6 May 2019
Commented: Louis Arney on 16 May 2019
Is it possible to send plots to multiple computers from the same matlab session. We are using Linux. With HPUX we were able to change the XDisplay parameter. But Linux does not seem to allow that.
  2 Comments
Bjorn Gustavsson
Bjorn Gustavsson on 7 May 2019
Maybe it is possible to squeeze your needs through VNC? Slightly different tack, this would give remote users access to the entire server, at least at the running user's level. But I'm pretty sure multiple users can access the same session via vnc.
I've heard impressive stories about what can be achived with ssh (also rather recently) so that might still be possible, maybe with ssh-keygen as a tool to simplify login.

Sign in to comment.

Answers (2)

Pruthvi Muppavarapu
Pruthvi Muppavarapu on 14 May 2019
Hi Louis,
Currently, you might not be able to accomplish plots on multiple monitors within one MATLAB session.
As a workaround, you could try starting a separate instance of MATLAB for each display, using the '-display' startup flag as follows:
$ matlab -display xDisp
Hope this helps.
Regards,
Pruthvi
  5 Comments
Louis Arney
Louis Arney on 16 May 2019
If I change DISPLAY in my xterminal to another device running an Xserver, like one Linux machine to another, I can open an xterminal (which might contain a plot or be running another program) on the other device. Changing my DISPLAY within a Matlab session does nothing (that I can tell). XDisplay is protected from changes once the session starts.

Sign in to comment.


Bjorn Gustavsson
Bjorn Gustavsson on 15 May 2019
KISS: vnc

Tags

Products


Release

R2018a

Community Treasure Hunt

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

Start Hunting!