-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathTamagawaPath.m
More file actions
47 lines (43 loc) · 1.44 KB
/
TamagawaPath.m
File metadata and controls
47 lines (43 loc) · 1.44 KB
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
function Path = TamagawaPath(option)
%
% Change directory to '/DWI-Tamagawa-Japan';
%
%
%
% SO Vista lab 2014
%% argument check
if notDefined('option') || isempty(option); option =1;
end
if ischar(option)
option = lower(strrep(option,' ',''));
end
%% Where is your destination?
switch option
case {1}
Path = '/sni-storage/wandell/biac2/wandell/data/DWI-Tamagawa-Japan';
case {2}
Path = '/sni-storage/wandell/biac2/wandell/data/DWI-Tamagawa-Japan2';
case {3}
Path = '/sni-storage/wandell/biac2/wandell/data/DWI-Tamagawa-Japan3';
case {'subj','subject','subjectname'}
Path = '/sni-storage/wandell/biac2/wandell/data/DWI-Tama-subjects';
case {'git'}
Path = '/home/shumpei/matlab/git';
case {'freesurfer','fs'}
Path = '/sni-storage/wandell/biac2/wandell/data/DWI-Tamagawa-Japan/freesurfer';
case {'qmr','qmri','quantitative'}
Path = '/peach/shumpei/qMRI';
case {'mouse'}
Path = '/sni-storage/wandell/biac2/wandell/data/Ogawa_Mouse_DWI';
case {'life_demo'}
Path = '/home/shumpei/Downloads/data';
case {'netta'}
Path ='/sni-storage/wandell/biac3/wandell4/data/reading_longitude/dti_adults';
case {'rp'}
Path ='/sni-storage/wandell/biac2/wandell/data/DWI-Tamagawa-Japan2/RP';
case {'long','longi','longitudinal'}
Path = '/sni-storage/wandell/biac2/wandell/data/Longitudinal_LHON';
end
cd(Path)
sprintf('You are here. "%s"',Path)
end