Print

Print


Hi,

While trying to add contrasts during 1st level analysis (in SPM8, using a Matlab script that closely follows one of Rik Henson's script),  I'm getting the following warning: 

"Warning:
c is not a proper contrast in +c->Tsp in spm_SpUtil
!!! projecting... "

when I call
       spm_FcUtil('Set',cnam{c},ctyp{c},'c',cw,SPM.xX.xKXs)

where I've specified my contrasts in the following manner

cnam{1} = 'A > B';
cwgt{1} = [kron([-1 1 2 0 0 0 0 0 0],1) zeros(1,numOfNuisanceRegrs)];	
ctyp{1} = 'T';

and padded cwgt with a zero for the constant

SPM.xVol.R has no NaN's....

What am I doing wrong?

Thanks for any pointers!
g