run Matlab on cluster

module load Applications/Matlab/R2012b #locate the software

matlab #open matlab, window will pop up

matlab -nodesktop #no desktop pop up, work in linux command window

matlab -nodisplay #no desktop pop up, no plot display

matlab (-nodesktop)(-nodisplay) -r "script" #run script of the name script.m