master
Christoph Budziszewski project chooser: close window

Christoph Budziszewski authored 15 years ago

1) function spm_SVMCrossVal(varargin)
Christoph Budziszewski using global variables now....

Christoph Budziszewski authored 15 years ago

2) 
Christoph Budziszewski first eventually working st...

Christoph Budziszewski authored 14 years ago

3) %Enter the base directory of your SPM installation
Christoph Budziszewski spm2 compatibility, start c...

Christoph Budziszewski authored 14 years ago

4) global SVMCROSSVAL_SPMDIR;
Christoph Budziszewski testing result tree

Christoph Budziszewski authored 7 years ago

5) SVMCROSSVAL_SPMDIR = '/home/chris/MATLAB/lib/SPM8';
Christoph Budziszewski first eventually working st...

Christoph Budziszewski authored 14 years ago

6) %Enter the SPM version string. Like 'SPM2', 'SPM5', 'SPM8'
7) global SVMCROSSVAL_SPMVERSION;
Christoph Budziszewski testing result tree

Christoph Budziszewski authored 7 years ago

8) SVMCROSSVAL_SPMVERSION = 'SPM8';
Christoph Budziszewski first eventually working st...

Christoph Budziszewski authored 14 years ago

9) 
Christoph Budziszewski new labels, some cleanup

Christoph Budziszewski authored 14 years ago

10) %external tools
11) global NODALYZE_LIBSVM;
12) NODALYZE_LIBSVM = 'libsvm-mat-2.88-1';
13) global NODALYZE_SOMTOOLBOX;
14) NODALYZE_SOMTOOLBOX = 'somtoolbox2';
15) global NODALYZE_NIFTI;
16) NODALYZE_NIFTI = 'NIFTI_20090325';
17) 
18) %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Christoph Budziszewski first eventually working st...

Christoph Budziszewski authored 14 years ago

19) % No Config from here
20) if strcmp(SVMCROSSVAL_SPMDIR,'') || strcmp(SVMCROSSVAL_SPMVERSION,'')
21)     error('spm_SVMCrossVal:main:noinstall','installation not complete!');
22) end
23) 
24) global SVMCROSSVAL_DEBUG;
25) 
26) defineGlobals();
Christoph Budziszewski almost all "change study" f...

Christoph Budziszewski authored 14 years ago

27) bootstrap('default');
Christoph Budziszewski spm2 compatibility, start c...

Christoph Budziszewski authored 14 years ago

28) 
Christoph Budziszewski project chooser: close window

Christoph Budziszewski authored 15 years ago

29) switch nargin
Christoph Budziszewski spm2 compatibility, start c...

Christoph Budziszewski authored 14 years ago

30)     case 0
31)         SVMCROSSVAL_DEBUG = 0;
32)         ui_main();
33)     case 1
34)         SVMCROSSVAL_DEBUG = varargin(1);
35)         ui_main();
Christoph Budziszewski project chooser: close window

Christoph Budziszewski authored 15 years ago

36) otherwise
37) error('spm_SVMCrossVal:main','wrong nargin');
38) end
39) end
40)