Browse code

basic available ROI display

git-svn-id: https://svn.discofish.de/MATLAB/spmtoolbox/SVMCrossVal@207 83ab2cfd-5345-466c-8aeb-2b2739fb922d

Christoph Budziszewski authored on07/08/2009 17:45:42
Showing1 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,22 @@
1
+function ui_showAvailableROIs(model)
2
+
3
+
4
+subjects = getSubjectCellList(model);
5
+nSubjects = numel(subjects);
6
+data =[];
7
+for s = 1:nSubjects
8
+    subjectStruct{s}.dir = fullfile(getBaseDir(model),cell2mat(subjects(s)));
9
+    map = load(fullfile(subjectStruct{s}.dir,'results','roi','coord_map.mat'));
10
+    data = [ data map.names];
11
+end
12
+
13
+availableROIs = unique(data)
14
+
15
+
16
+end
17
+
18
+function show(data)
19
+figure f;
20
+
21
+
22
+end
0 23
\ No newline at end of file