-
Notifications
You must be signed in to change notification settings - Fork 3
/
OnePath.m
29 lines (28 loc) · 1.31 KB
/
OnePath.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
function output = OnePath();
if exist('C:/Users/nick/OneDrive/Matlab_Code/NDH_Tools','dir') == 7
output = 'C:/Users/nick/OneDrive/';
elseif exist('C:/Users/Nick/Google Drive/Matlab_Code/') == 7
output = 'C:/Users/Nick/Google Drive/';
elseif exist('C:/Users/nickh/Google_Drive2/Matlab_Code/') == 7
output = 'C:/Users/nickh/Google_Drive2/';
elseif exist('C:/Users/Nick/Google_Drive2/Matlab_Code/') == 7
output = 'C:/Users/Nick/Google_Drive2/';
elseif exist('D:/Users/Nick/Google_Drive2/Matlab_Code/') == 7
output = 'D:/Users/Nick/Google_Drive2/';
elseif exist('D:/Users/Nick/Google_Drive/Matlab_Code/') == 7
output = 'D:/Users/Nick/Google_Drive/';
elseif exist('C:/Users/nickh/Google_Drive/Matlab_Code/') == 7
output = 'C:/Users/nickh/Google_Drive/';
elseif exist('G:/My Drive/Matlab_Code/') == 7
output = 'G:/My Drive/';
elseif exist('/users/nholschuh/Matlab_Code/') == 7
output = '/users/nholschuh/';
elseif exist('/Users/Lionheart/OneDrive/Matlab_Code/NDH_Tools','dir') == 7
output = '/Users/Lionheart/OneDrive/Matlab_Code/NDH_Tools';
elseif exist('/data/rd00/Users/holschuh/Matlab_Code/') == 7
output = '/data/rd00/Users/holschuh/';
elseif exist('/mnt/NDH_data/Google_Drive2/Matlab_Code/') == 7
output = '/mnt/NDH_data/Google_Drive2/';
else
output = [];
end