Difference between revisions of "Matlab GUI Example"

From UFRC
Jump to navigation Jump to search
Line 1: Line 1:
 +
[[Matlab|back to the main Matlab page]]
 
=GUI Session=
 
=GUI Session=
  

Revision as of 21:11, 15 July 2016

back to the main Matlab page

GUI Session

Note
this script is also available as '$HPC_GUI_JOB/launch_matlab.sh' after loading the gui environment module. Please feel free to change the parameters as needed for your work.
#!/bin/bash
#SBATCH --job-name="Matlab"
#SBATCH --output matlab_gui-%j.out
#SBATCH --partition=gui
#SBATCH --ntasks=1
#SBATCH --mem-per-cpu=2gb
#SBATCH --time=02:00:00
#SBATCH --account=woods
#SBATCH --qos=woods
hostname;pwd;date

module load gui matlab

xpra_start_matlab

date