Matlab is a high-level technical computing language and interactive environment for
algorithm development, data visualization, data analysis, and numeric computation.
The queuename r1-24h used in this example can be replaced by other
one processor queuenames, and
runplot.out and runplot.err are sample names for the standard
output and error, respectively. Please refer to
Running Jobs on rcluster for more
information on how to submit batch jobs on rcluster.
Sample script file plotsin.sh with MatLab commands to plot sin(x) and save the plot in a file called aplot.ps: