Print

Print


Hi,

Have any of you come across this matlab error before when using SPM batch files. 

If so what does it really mean and what sort of things did you do to correct the
problem. 

I think it might be something with the way i have written my batch buy am not
100% sure.

Matlab error message:-

  Warning: 
c is not a proper contrast in +c->Tsp in spm_SpUtil
!!! projecting...
>...............SPM2/spm2/spm_SpUtil.m at line 323
  ..............SPM2/spm2/spm_FcUtil.m at line 215
  In ........../spm_batch_Gavin_Enc_Retc.m at line 338
from

c =

     0
     0
     0
     0
     0
     0
     0
     0
     0
     0
     0
     0
     1
     0
     0
     0
     0
     0
     0
     0
     0
     0
    -1
     0
     0
     0
     0
     0
     0
     0
     0
     0
     0

to

c =

         0
         0
    0.5000
         0
         0
         0
         0
         0
         0
         0
         0
         0
    0.5000
         0
         0
         0
         0
         0
         0
         0
         0
         0
   -1.0000
         0
         0
         0
         0
         0
         0
         0
         0
         0
         0

-- 
Gavin St. John Heath 
University of Oxford 
Department of Experimental Psychology
South Parks Road
OX1 3UD 
Oxford
United Kingdom
 
Tel: +44 (0)1865 271435