Hello,
I am attempting to run Karl's SPM2 batch file for fMRI analysis. It runs fine until it gets
to the contrasts, where the following error message consistently appears:
Error using spm_FcUtil
not contrast dim. in spm_FcUtil c
Error on line
SPM.xCon(end + 1) = spm_FcUtil('Set',cname,'T','c',c(:),SPM.xX.xKXs);
The batch file is oprganized as follows for each contrast:
c = [1 0 0 0];
cname = 'L S1';
SPM.xCon(end + 1) = spm_FcUtil('Set',cname,'T','c',c(:),SPM.xX.xKXs);
Thank you in advance
Mike Barry
|