a3_ica_prepare.m 465 B

123456789101112131415161718
  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. %addpath(fullfile('..','..', 'tools', 'eeglab14_1_1b', 'functions', 'sigprocfunc'))
  11. mcc -m a3_ica.m
  12. exit