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=<optional>
##SBATCH --qos=<optional>
hostname;pwd;date
module load gui matlab
xpra_start_matlab
date