MATLAB
From FarmShare
(Difference between revisions)
m (→Jupyter notebook: clarity, added link) |
|||
Line 1: | Line 1: | ||
- | == | + | == Getting Started == |
- | + | Run <code>module avail</code> to get a list of all software modules, or <code>module spider matlab</code> to get a list of available versions of MATLAB. | |
<source lang="sh"> | <source lang="sh"> | ||
- | + | module spider matlab | |
- | + | -------------------------------------------------------------------------------------------------------------------------------- | |
matlab: | matlab: | ||
- | + | -------------------------------------------------------------------------------------------------------------------------------- | |
Description: | Description: | ||
- | + | A multi-paradigm numerical computing environment and programming language. | |
Versions: | Versions: | ||
- | matlab/ | + | matlab/r2016b |
- | matlab/ | + | matlab/r2017a |
- | + | -------------------------------------------------------------------------------------------------------------------------------- | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
</source> | </source> | ||
- | + | Use <code>module load</code> to set up your environment, and then run <code>matlab</code> to start an [[Matlab-interactive|interactive]] session. | |
- | + | module load matlab | |
+ | matlab | ||
- | + | If you have not configured a remote display MATLAB will start in text mode, but the MATLAB desktop is supported. | |
- | + | ssh -X sunetid@rice.stanford.edu | |
+ | module load matlab | ||
+ | matlab & | ||
== Jupyter == | == Jupyter == |
Revision as of 11:05, 14 September 2017
Getting Started
Run module avail
to get a list of all software modules, or module spider matlab
to get a list of available versions of MATLAB.
module spider matlab -------------------------------------------------------------------------------------------------------------------------------- matlab: -------------------------------------------------------------------------------------------------------------------------------- Description: A multi-paradigm numerical computing environment and programming language. Versions: matlab/r2016b matlab/r2017a --------------------------------------------------------------------------------------------------------------------------------
Use module load
to set up your environment, and then run matlab
to start an interactive session.
module load matlab matlab
If you have not configured a remote display MATLAB will start in text mode, but the MATLAB desktop is supported.
ssh -X sunetid@rice.stanford.edu module load matlab matlab &
Jupyter
MATLAB can also be run in a Jupyter notebook on FarmShare servers and used via a web browser.
The MATLAB Jupyter kernel is available as part of the prebuilt Jupyter environment accessible via the Jupyter installation guide.
parallel Matlab
Info here: Matlab-parallel