-
Notifications
You must be signed in to change notification settings - Fork 2
/
define_directories.m
22 lines (20 loc) · 1022 Bytes
/
define_directories.m
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
function [script_directory, data_directory, analysis_directory, lsl_directory] = define_directories(OS_nature, EEG_nature)
%% Directories created to navigate code folders throughout script
% If OS_nature = 1, then we are using our Linux OS. If OS_nature = 2, then
% we are using our Windows OS
if OS_nature == 1 % Linux
script_directory = '/home/wallace/Human_AV_Motion/';
data_directory = '/home/wallace/Human_AV_Motion/data/';
analysis_directory = '/home/wallace/Human_AV_Motion/data_analysis/';
if EEG_nature == 1
lsl_directory = '/home/wallace/Human_AV_Motion/EEG/';
end
elseif OS_nature == 2 % Windows
script_directory = 'C:\Users\Wallace Lab\Documents\MATLAB\Human_AV_Motion\';
data_directory = 'C:\Users\Wallace Lab\Documents\MATLAB\Human_AV_Motion\data\';
analysis_directory = 'C:\Users\Wallace Lab\Documents\MATLAB\Human_AV_Motion\data_analysis';
if EEG_nature == 1
lsl_directory = 'C:\Users\Wallace Lab\Documents\MATLAB\Human_AV_Motion\EEG\';
end
end
end