-
Notifications
You must be signed in to change notification settings - Fork 0
/
Get_tract_number.m
executable file
·46 lines (46 loc) · 1.05 KB
/
Get_tract_number.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
function [tract_number] = Get_tract_number(tract_name)
switch tract_name
case 'Thal_Rad_L'
tract_number = 1;
case 'Thal_Rad_R'
tract_number = 2;
case 'CST_L'
tract_number = 3;
case 'CST_R'
tract_number = 4;
case 'Cing_L'
tract_number = 5;
case 'Cing_R'
tract_number = 6;
case 'Hipp_L'
tract_number = 7;
case 'Hipp_R'
tract_number = 8;
case 'Call_Maj'
tract_number = 9;
case 'Call_Min'
tract_number = 10;
case 'IFOF_L'
tract_number = 11;
case 'IFOF_R'
tract_number = 12;
case 'ILF_L'
tract_number = 13;
case 'ILF_R'
tract_number = 14;
case 'SLF_L'
tract_number = 15;
case 'SLF_R'
tract_number = 16;
case 'Unc_L'
tract_number = 17;
case 'Unc_R'
tract_number = 18;
case 'ARC_L'
tract_number = 19;
case 'ARC_R'
tract_number = 20;
otherwise
disp(['ERROR: ',tract_name, ' not found.'])
end
end