User:Jgt/sandbox matlab: Difference between revisions
From HPC Wiki
< User:Jgt
No edit summary |
|||
| Line 16: | Line 16: | ||
=Interactive Session - No GUI= | =Interactive Session - No GUI= | ||
{{Cmd|module load matlab|matlab -nodesktop -nodisplay -nosplash|output=<pre> | |||
< 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! | |||
</pre>}} | |||
=Interactive Session - GUI= | |||
=Non-Interactive Batch Job= | =Non-Interactive Batch Job= | ||
Revision as of 17:12, 24 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!