Browse code

works with toolbox

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

Christoph Budziszewski authored on 22/05/2009 11:27:08
Showing 2 changed files
... ...
@@ -16,7 +16,7 @@ function ui_main(varargin)
16 16
 
17 17
     task = struct;
18 18
     
19
-    DEFAULT = mcb_load_study(0,0,'study/stimolos.mat');
19
+    DEFAULT = mcb_load_study(0,0,fullfile(getTbxPath,'study/stimolos.mat'));
20 20
     
21 21
     model1 = struct;
22 22
     model1.baseDir = DEFAULT.wd;
... ...
@@ -9,8 +9,8 @@ global SVMCROSSVAL_DEBUG;
9 9
 % SPMDIR = 'D:\SPM\spm5human'
10 10
 SVMCROSSVAL_SPMDIR = 'D:\SPM\spm2';
11 11
 SVMCROSSVAL_SPMVERSION = 'SPM2';
12
-SVMCROSSVAL_TOOLBOXPATH = fullfile('C:\Dokumente und Einstellungen\Christoph\Eigene Dateien\MATLAB\spmtoolbox\SVMCrossVal\','');
13
-% SVMCROSSVAL_TOOLBOXPATH = fullfile(SVMCROSSVAL_SPMDIR,'toolbox');
12
+% SVMCROSSVAL_TOOLBOXPATH = fullfile('C:\Dokumente und Einstellungen\Christoph\Eigene Dateien\MATLAB\spmtoolbox\SVMCrossVal\','');
13
+SVMCROSSVAL_TOOLBOXPATH = fullfile(SVMCROSSVAL_SPMDIR,'toolbox','SVMCrossVal');
14 14
 
15 15
 switch nargin
16 16
     case 0