User:Jgt/sandbox matlab: Difference between revisions
From HPC Wiki
< User:Jgt
No edit summary |
No edit summary |
||
| Line 34: | Line 34: | ||
=Interactive Session - GUI= | =Interactive Session - GUI= | ||
{{Cmd|module load matlab|srun -p float -n 2 --pty --x11 -t 03:00:00 bash}} | |||
{{Cmd|module list|output=<pre> | |||
Currently Loaded Modulefiles: | |||
1) matlab/r2018a | |||
</pre>}} | |||
=Non-Interactive Batch Job= | =Non-Interactive Batch Job= | ||
Revision as of 13:00, 31 August 2018
Preliminaries
user $module keyword matlabmatlab/r2018a : plot math graphics matlab octave/4.2.1 : plot matlab octave
user $module load matlabuser $module load matlab/r2018auser $module listCurrently Loaded Modulefiles: 1) matlab/r2018a
Interactive Session - No GUI
user $module load matlabuser $matlab -nodesktop -nodisplay -nosplash
< M A T L A B (R) >
Copyright 1984-2018 The MathWorks, Inc.
R2018a (9.4.0.813654) 64-bit (glnxa64)
February 23, 2018
To get started, type one of these: helpwin, helpdesk, or demo.
For product information, visit www.mathworks.com.
>> disp('Hello, World!')
Hello, World!
>> helloWorld
Hello, World!
Interactive Session - GUI
user $module load matlabuser $srun -p float -n 2 --pty --x11 -t 03:00:00 bashuser $module listCurrently Loaded Modulefiles: 1) matlab/r2018a