MATLAB

to list Matlab versions, open a terminal window on the neuro cluster, and type ‘matlab’ followed by the tab key (twice), e.g.:

matlab<tab><tab>

Compatibility with Mac

There is a known problem displaying Java applications (including Matlab) remotely on Mac computers with the M1 chip. The screen will appear black while the mouse focus is on the Matlab window.

As a work-around, open a terminal window on the neuro cluster, and run the following commands:

cd
cat << END > java.opts
-Dsun.java2d.xrender=false
END

This will create a file called ‘java.opts’ in your home directory.

Now you may run Matlab from your home directory and the screen will appear normal. For example:

cd
matlab

If you prefer to run Matlab from a different directory, then copy the java.opts file to that directory.

If you use this work-around, please email me at support-neuro@berkeley.edu.

SPM

The matlab-spm12 command is available for your convenience:

Toolboxes

Toolboxes are located in /usr/local/matlab-tools. To request a toolbox, please email support-neuro@berkeley.edu.