Browse code

moved helpercode to private

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

Christoph Budziszewski authored on07/01/2009 09:24:55
Showing1 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,11 @@
1
+function onset = getOnset(session,condition,repetition)
2
+
3
+%session    : the session number. 
4
+%condition  : the condition intrested in (CUE1,CUE2,...)
5
+%repetition : the repetition number; same event, different time ;)
6
+
7
+cmd = sprintf('SPM.Sess(%d,%d).U(%d,%d).ons(%d)',1,session,1,condition,repetition);
8
+
9
+onset = evalin('base',cmd);
10
+
11
+end
0 12
\ No newline at end of file