Christoph Budziszewski commited on 2017-03-24 02:58:58
Zeige 4 geänderte Dateien mit 10 Einfügungen und 7 Löschungen.
git-svn-id: https://svn.discofish.de/MATLAB/spmtoolbox/SVMCrossVal@1167 83ab2cfd-5345-466c-8aeb-2b2739fb922d
... | ... |
@@ -1,6 +1,6 @@ |
1 | 1 |
function ret = bootstrap(studyID) |
2 | 2 |
|
3 |
-StudyArgs.baseDir = 'D:\'; |
|
3 |
+StudyArgs.baseDir = '/tmp'; |
|
4 | 4 |
StudyArgs.subjectSelectString = 'noSubject'; |
5 | 5 |
StudyArgs.subjectSelectValue = 1; |
6 | 6 |
StudyArgs.classdefString = ''; |
... | ... |
@@ -43,6 +43,6 @@ StudyArgs.searchlightTimeline = ''; |
43 | 43 |
|
44 | 44 |
|
45 | 45 |
file = strcat(studyID,'.mat'); |
46 |
-save(fullfile('D:\SPM\spm2\toolbox\SVMCrossVal\study',file),'-Struct','StudyArgs') ; |
|
46 |
+save(fullfile('/tmp',file),'-Struct','StudyArgs') ; |
|
47 | 47 |
ret=StudyArgs; |
48 | 48 |
end |
49 | 49 |
\ No newline at end of file |
... | ... |
@@ -1,10 +1,13 @@ |
1 | 1 |
function defineGlobals() |
2 | 2 |
|
3 | 3 |
global SVMCROSSVAL_TOOLBOXPATH; |
4 |
-SVMCROSSVAL_TOOLBOXPATH = fullfile(getSpmPath,'toolbox','SVMCrossVal'); |
|
4 |
+%SVMCROSSVAL_TOOLBOXPATH = fullfile(getSpmPath,'toolbox','SVMCrossVal'); |
|
5 |
+SVMCROSSVAL_TOOLBOXPATH = '/home/chris/MATLAB/spmtoolbox/SVMCrossVal'; |
|
5 | 6 |
|
6 | 7 |
global SVMCROSSVAL_STUDYDIR; |
7 |
-SVMCROSSVAL_STUDYDIR = fullfile(SVMCROSSVAL_TOOLBOXPATH,'study'); |
|
8 |
+%SVMCROSSVAL_STUDYDIR = fullfile(SVMCROSSVAL_TOOLBOXPATH,'study'); |
|
9 |
+SVMCROSSVAL_STUDYDIR = fullfile('/home/chris/MATLAB/spmtoolbox/SVMCrossVal','study'); |
|
10 |
+ |
|
8 | 11 |
|
9 | 12 |
global SVMCROSSVAL_SUBJECT_PREFIX; |
10 | 13 |
SVMCROSSVAL_SUBJECT_PREFIX = 'subject'; |
... | ... |
@@ -2,10 +2,10 @@ function spm_SVMCrossVal(varargin) |
2 | 2 |
|
3 | 3 |
%Enter the base directory of your SPM installation |
4 | 4 |
global SVMCROSSVAL_SPMDIR; |
5 |
-SVMCROSSVAL_SPMDIR = 'D:\SPM\spm2'; |
|
5 |
+SVMCROSSVAL_SPMDIR = '/home/chris/MATLAB/lib/SPM8'; |
|
6 | 6 |
%Enter the SPM version string. Like 'SPM2', 'SPM5', 'SPM8' |
7 | 7 |
global SVMCROSSVAL_SPMVERSION; |
8 |
-SVMCROSSVAL_SPMVERSION = 'SPM2'; |
|
8 |
+SVMCROSSVAL_SPMVERSION = 'SPM8'; |
|
9 | 9 |
|
10 | 10 |
%external tools |
11 | 11 |
global NODALYZE_LIBSVM; |
12 | 12 |