ICLabel

From Center for Cognitive Neuroscience
Jump to navigation Jump to search

How to properly install ICLabel on Hoffman

After downloading ICLabel and placing it in the eeglab plugins folder, MatConvNet should be compiled for optimal CPU computations.

First, request an interactive session, then load the required software:

# load env
module load gcc/4.9.3   # 4.8 or newer
module load matlab	# R2015b or newer

# open matlab
matlab &

Once Matlab is open, change the directory to the MatConvNet folder and compile the library using the following:

% compile matconvnet
cd eeglab/plugins/ICLabel1.2.6/matconvnet
addpath matlab

% configure mex to use 'g++'
mex -setup C++
vl_compilenn('verbose', 1)

% test library
vl_testnn

Resources