...
However, when I tried to log into geojr.acesgrid.org it didn't let me, so I followed the directions from the above web page with login.acesgrid. I was able to use matlab without the X11 interface by following the first optionsorg and with -X. I also had to run it without the '-nojvm' flag when calling matlab. Not 100% sure if this is right.
The non-interface version also works as below:
qsub -I -l nodes=1
module add matlab
...