Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

Thread Subject:
display figures in matlab distributed computer server

Subject: display figures in matlab distributed computer server

From: Jose

Date: 12 Apr, 2010 15:35:20

Message: 1 of 2

Hello everyone, when I run my program from my laptop in a remote cluster of 16 processors, The program is running in the cluster and I would like to display the figures of my program.

If I run the program in my laptop everything is fine, the command plot works perfectly,
but when I run the program in the cluster (remote server) from my laptop, nothing happens in my laptop.

Thanks in advance,

Jose

 
 

Subject: display figures in matlab distributed computer server

From: Jose

Date: 12 Apr, 2010 16:14:05

Message: 2 of 2

I found it:

Note that your Matlab job will not have any access to a graphical display or terminal, so all of your input must be handled by one .m file (which can call other .m files) and all of your output must be written to either a file or the screen (standard out) by Matlab or saved with the print command.

Plotting in Batch Sample

    y=1:100;
    plot(y,y)
    print -depsc yvsy
    %save the plot as yvsy.eps (postscript color)
    %run: 'help print' for options (-djpeg -dpng etc)
    exit
    %matlab must exit in all batch jobs when finished



Then, we can't use any commands like ...export display or something like that... to get the figures generated for the workers (16) of the matlab distributed computer server installed in my cluster?












"Jose " <jose.l.vega@gmail.com> wrote in message <hpvejo$f78$1@fred.mathworks.com>...
> Hello everyone, when I run my program from my laptop in a remote cluster of 16 processors, The program is running in the cluster and I would like to display the figures of my program.
>
> If I run the program in my laptop everything is fine, the command plot works perfectly,
> but when I run the program in the cluster (remote server) from my laptop, nothing happens in my laptop.
>
> Thanks in advance,
>
> Jose
>
>
>

Tags for this Thread

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Contact us