> For the complete documentation index, see [llms.txt](https://refraction-ray.gitbook.io/iastuhpc2/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://refraction-ray.gitbook.io/iastuhpc2/users/softwares/matlab.md).

# matlab

`spack load matlab` before using, preinstalled version is Matlab 2018b.

## X11 Forwarding

One should use `ssh -Y` instead of `ssh -X` for matlab to work over X11 frowarding. [reference](https://www.mathworks.com/matlabcentral/answers/101307-how-do-i-get-matlab-for-linux-to-display-its-x11-windows-on-a-mac).
