In order to run a matlab job on the RCE Batch Cluster, you must set some environment variables and run matlab in command line mode. HMDC has developed a simple program to automate this process called submitMatlabBatch.sh.
To run your Matlab code as a batch job, open a terminal window in the RCE and type:
submitMatlabBatch.sh myfile.m
Use the name of your matlab code file in place of myfile.m
, and your code will run one single iteration as a batch job.
Standard output from your job will be...
Read more about How do I submit a Matlab job to the batch cluster?