From: Jose on
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



From: Jose on
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(a)gmail.com> wrote in message <hpvejo$f78$1(a)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
>
>
>