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,10 @@
1
+function duration = getDuration(session, condition, repetition)
2
+%session    : the session number. 
3
+%condition  : the condition intrested in (CUE1,CUE2,...)
4
+%repetition : the repetition number; same event, different time ;)
5
+
6
+cmd = sprintf('SPM.Sess(%d,%d).U(%d,%d).dur(%d)',1,session,1,condition,repetition);
7
+
8
+duration = evalin('base',cmd);
9
+
10
+end
0 11
\ No newline at end of file