-
Notifications
You must be signed in to change notification settings - Fork 1
/
set_path.m
67 lines (67 loc) · 3.17 KB
/
set_path.m
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
%% set path
switch 'dropbox'
case 'C141'
cd('C:/Users/acclab/Desktop/Niccolo/study3');
addpath(genpath('C:/Users/acclab/Desktop/Niccolo/myfunctions'));
my_path = 'C:/Users/acclab/Desktop/Niccolo/study3';
results_path = [my_path '/results/'];
stims_path = 'C:/Users/acclab/Desktop/Niccolo/stims';
OS = 'Windows';
case 'niccolo'
cd('C:/Users/Niccolo/Dropbox/Oxford/study3');
addpath(genpath('C:/Users/Niccolo/Dropbox/Oxford/myfunctions'));
my_path = 'C:/Users/Niccolo/Dropbox/Oxford/study3';
results_path = [my_path '/results/'];
stims_path = 'C:/Users/Niccolo/Dropbox/Oxford/asking_for_advice_project/stims';
OS = 'Windows';
case 'niccolo_ubuntu'
cd('/home/niccolo/Dropbox/Oxford/study3');
addpath(genpath('/home/niccolo/Dropbox/Oxford/myfunctions'));
% addpath(genpath('/home/niccolo/Dropbox/DOCUP/toolboxes/JR_toolbox'));
my_path = '/home/niccolo/Dropbox/Oxford/study3'; % working directory
results_path = [my_path '/results/'];
stims_path = '/home/niccolo/Dropbox/Oxford/stims';
addpath(genpath(my_path));
OS = 'Linux';
case 'D145_ubuntu'
cd('/home/niccolo/Dropbox/Oxford/study3');
addpath(genpath('/home/niccolo/Dropbox/Oxford/myfunctions'));
addpath(genpath('/home/niccolo/Dropbox/Oxford/across_experiments_scripts'));
% addpath(genpath('/home/niccolo/Dropbox/DOCUP/toolboxes/JR_toolbox'));
my_path = '/home/niccolo/Dropbox/Oxford/study3'; % working directory
if ~feedback
results_path = ['/media/niccolo/Yupi/Oxford/study3/results/'];%'/media/niccolo/Yupi/study3';
im_path = '/home/niccolo/vboxshared/study3/';
else
results_path = ['/media/niccolo/Yupi/Oxford/study3/results_f/'];%'/media/niccolo/Yupi/study3_f';
im_path = '/home/niccolo/vboxshared/study3f/';
end
stims_path = '/home/niccolo/Dropbox/Oxford/stims';
addpath(genpath(my_path));
OS = 'Linux';
case 'D145'
cd('C:/Users/npescetelli/Dropbox/Oxford/study3');
addpath(genpath('C:/Users/npescetelli/Dropbox/Oxford/myfunctions'));
addpath(genpath('C:/Users/npescetelli/Dropbox/DOCUP/toolboxes/JR_toolbox'));
my_path = 'C:/Users/npescetelli/Dropbox/Oxford/study3';
addpath(genpath(my_path));
results_path = ['F:/Oxford/study3/results/'];
OS = 'Windows';
case 'E118'
cd('C:\Documents and Settings\dschwartzman\Desktop\study3');
my_path = 'C:\Documents and Settings\dschwartzman\Desktop\study3';
OS = 'Windows';
case 'dropbox'
cd('/home/niccolo/Dropbox/Oxford/study3');
addpath(genpath('/home/niccolo/Dropbox/Oxford/myfunctions'));
my_path = '/home/niccolo/Dropbox/Oxford/study3'; % working directory
results_path = [pwd '/results/'];
if ~feedback
results_path = [pwd '/results/'];
else
results_path = [pwd '/results_f/'];
end
stims_path = '/home/niccolo/Dropbox/Oxford/stims';
addpath(genpath(my_path));
im_path = '/home/niccolo/VBox_shared/internalExternal/';
end