Required by: headreco head segmentation pipeline
For headreco, MATLAB needs to be configured such that typing
matlab on a terminal window will start it.
This is already the case in most Windows installations. However, on Linux and MacOSX you might need to create a link to the
matlab executable somewhere in your system
$PATH. This can be done with the commands
sudo ln -s /usr/local/MATLAB/R<VERSION>/bin/matlab /usr/local/bin/matlab
sudo ln -s /Applications/MATLAB_R<VERSION>.app/bin/matlab /usr/local/bin/matlab
If MATLAB is not installed in the default location, you can find out where it is installed by typing in a MATLAB terminal
SimNIBS also has a MATLAB API, available in the
matlab/ subfolder of the SimNIBS installation directory.
Follow the instructions on this link
in the end of the
~/.bash_profile(MacOSX) file (assuming that fsl is installed as usually into