a3_ica_prepare.m 380 B

1234567891011121314151617
  1. function a3_ica_prepare()
  2. %% add fieldtrip toolbox
  3. addpath(fullfile('..','..', 'tools', 'fieldtrip'));
  4. ft_defaults()
  5. ft_hastoolbox('EEGLAB')
  6. addpath(genpath(fullfile('..','..', 'tools', 'fieldtrip', 'external', 'eeglab')))
  7. ft_compile_mex(true)
  8. %% compile function and append dependencies
  9. addpath(fullfile('..','..', 'tools', 'helpers'))
  10. mcc -m a3_ica.m
  11. exit