Hi everyone.
 
I'm using a BATCH file to design, estimate and create contrasts for a matrix that is modified from Karl Friston's spm_batch.m. The batch works perfectly designing and estimating the matrix, but when it comes time to create the contrasts for it, matlab spits out the following error:
 
??? Error using ==> spm_FcUtil
not contrast dim. in spm_FcUtil c
 
Error in ==> SavioTest at 516
SPM.xCon(end + 1) = spm_FcUtil('Set',cname, 'T', 'c',c(:),SPM.xX.xKXs);
 
 
I'm guessing it's something quite simple to fix, but I don't even know where to begin. Any suggestion would be great.
 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Nicholas Masse, M.Sc.
Research Technician
Neurovascular Research Lab
School of Kinesiology
University of Western Ontario
Rm. 3110 Thames Hall
519.661.2111 x88526
[log in to unmask]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~