-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfind_datadir.m
More file actions
19 lines (18 loc) · 849 Bytes
/
find_datadir.m
File metadata and controls
19 lines (18 loc) · 849 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
function [datadir] = find_datadir()
if exist('/Volumes', 'dir') > 0
hddir = fullfile('/Volumes', 'JenniferHD3', 'DAH Data');
if isfolder(hddir)
datadir = hddir;
else
datadir = fullfile('/Users', 'Vasudha', 'Library','CloudStorage', 'Box-Box', ...
'Gartnerlab Data', 'Individual Folders','Jennifer Hu', ...
'Analysis','DAH Modeling','DAH Data','BCC','tissues');
end
elseif isfolder(fullfile('C:', 'Users', 'Gartner'))
datadir = fullfile('C:', 'Users', 'Gartner', 'Box', ...
'Gartnerlab Data', 'Individual Folders', ...
'Jennifer Hu','Data','Lattice');
end
assert(exist(datadir, 'dir') > 0, 'Data directory should exist.');
end
Analysis/DAH Modeling/DAH Data/BCC/tissues