-
Notifications
You must be signed in to change notification settings - Fork 3
/
jt_set_paths.m
22 lines (19 loc) · 905 Bytes
/
jt_set_paths.m
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
function jt_set_paths()
%jt_set_paths(cfg)
% Root
if ispc; root = 'G:';
elseif ismac || strcmp(computer(), 'GLNXA64'); root = '~';
else error('Unknown OS!')
end
toolboxes = fullfile(root,'bci_code','toolboxes');
noise_tagging = fullfile(root,'bci_code','own_experiments','visual','noise_tagging');
% Add toolboxes
addpath(genpath(fullfile(noise_tagging,'jt_box'))); % noise-tagging
addpath(genpath(fullfile(toolboxes,'numerical_tools'))); % math: tprod, repop
addpath(genpath(fullfile(toolboxes,'plotting'))); % plotting: ikelvin
addpath(genpath(fullfile(toolboxes,'signal_processing'))); % signal proc: detrend
addpath(genpath(fullfile(toolboxes,'utilities'))); % signal proc: detrend
% Add BrainStream
addpath(fullfile(toolboxes,'brainstream')); % roots
addpath(fullfile(toolboxes,'brainstream','core')); % roots
bs_addpath;