Browse code

removed unused functions

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

Christoph Budziszewski authored on31/07/2009 10:29:51
Showing1 changed files
1 1
deleted file mode 100644
... ...
@@ -1,21 +0,0 @@
1
-function model = scanDirs(model)
2
-% disp('scan dir');
3
-baseDir = getBaseDir(model);
4
-subjectNames = listDirNames(baseDir);
5
-
6
-set(model.subjectSelector,'String',subjectNames);
7
-set(model.subjectSelector,'UserData',subjectNames);
8
-set(model.subjectSelector,'Value',model.selectedSubject);
9
-
10
-%subjectNames(model.selectedSubject)
11
-imageMask = imageMaskNames(fullfile(baseDir,cell2mat(subjectNames(model.selectedSubject))));
12
-
13
-set(model.imageTypeSelection,'String',imageMask);
14
-set(model.imageTypeSelection,'UserData',imageMask);
15
-
16
-% set(model.txtBaseDir,'String',baseDir);
17
-
18
-% des = 
19
-% tr = des.xsDes.Interscan_interval(1:end-3);
20
-set(model.labelTR,'String',2)
21
-end
22 0
\ No newline at end of file
Browse code

first eventually working study switch functionality

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

Christoph Budziszewski authored on29/07/2009 15:51:21
Showing1 changed files
... ...
@@ -1,18 +1,19 @@
1 1
 function model = scanDirs(model)
2
-disp('scan dir');
3
-subjectNames = listDirNames(model.baseDir);
2
+% disp('scan dir');
3
+baseDir = getBaseDir(model);
4
+subjectNames = listDirNames(baseDir);
4 5
 
5 6
 set(model.subjectSelector,'String',subjectNames);
6 7
 set(model.subjectSelector,'UserData',subjectNames);
7 8
 set(model.subjectSelector,'Value',model.selectedSubject);
8 9
 
9 10
 %subjectNames(model.selectedSubject)
10
-imageMask = imageMaskNames(fullfile(model.baseDir,cell2mat(subjectNames(model.selectedSubject))));
11
+imageMask = imageMaskNames(fullfile(baseDir,cell2mat(subjectNames(model.selectedSubject))));
11 12
 
12 13
 set(model.imageTypeSelection,'String',imageMask);
13 14
 set(model.imageTypeSelection,'UserData',imageMask);
14 15
 
15
-set(model.txtBaseDir,'String',model.baseDir);
16
+% set(model.txtBaseDir,'String',baseDir);
16 17
 
17 18
 % des = 
18 19
 % tr = des.xsDes.Interscan_interval(1:end-3);
Browse code

added TR

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

Christoph Budziszewski authored on16/04/2009 17:00:50
Showing1 changed files
... ...
@@ -14,4 +14,7 @@ set(model.imageTypeSelection,'UserData',imageMask);
14 14
 
15 15
 set(model.txtBaseDir,'String',model.baseDir);
16 16
 
17
+% des = 
18
+% tr = des.xsDes.Interscan_interval(1:end-3);
19
+set(model.labelTR,'String',2)
17 20
 end
18 21
\ No newline at end of file
Browse code

study change may work

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

Christoph Budziszewski authored on18/02/2009 18:08:07
Showing1 changed files
... ...
@@ -12,5 +12,6 @@ imageMask = imageMaskNames(fullfile(model.baseDir,cell2mat(subjectNames(model.se
12 12
 set(model.imageTypeSelection,'String',imageMask);
13 13
 set(model.imageTypeSelection,'UserData',imageMask);
14 14
 
15
+set(model.txtBaseDir,'String',model.baseDir);
15 16
 
16 17
 end
17 18
\ No newline at end of file
Browse code

save load working for most parameters.

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

Christoph Budziszewski authored on18/02/2009 17:48:16
Showing1 changed files
... ...
@@ -6,7 +6,7 @@ set(model.subjectSelector,'String',subjectNames);
6 6
 set(model.subjectSelector,'UserData',subjectNames);
7 7
 set(model.subjectSelector,'Value',model.selectedSubject);
8 8
 
9
-subjectNames(model.selectedSubject)
9
+%subjectNames(model.selectedSubject)
10 10
 imageMask = imageMaskNames(fullfile(model.baseDir,cell2mat(subjectNames(model.selectedSubject))));
11 11
 
12 12
 set(model.imageTypeSelection,'String',imageMask);
Browse code

subject list from filesystem, image mask list from filesystem

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

Christoph Budziszewski authored on13/02/2009 14:57:00
Showing1 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,16 @@
1
+function model = scanDirs(model)
2
+disp('scan dir');
3
+subjectNames = listDirNames(model.baseDir);
4
+
5
+set(model.subjectSelector,'String',subjectNames);
6
+set(model.subjectSelector,'UserData',subjectNames);
7
+set(model.subjectSelector,'Value',model.selectedSubject);
8
+
9
+subjectNames(model.selectedSubject)
10
+imageMask = imageMaskNames(fullfile(model.baseDir,cell2mat(subjectNames(model.selectedSubject))));
11
+
12
+set(model.imageTypeSelection,'String',imageMask);
13
+set(model.imageTypeSelection,'UserData',imageMask);
14
+
15
+
16
+end
0 17
\ No newline at end of file