Hi Guillaume,

I'm getting a strange error when trying to estimate a GLM:

Warning: Matrix is close to singular or badly scaled. Results may be inaccurate. RCOND = -1.000000e+00.
> In spm_inv at 30
  In spm_spm at 441
  In spm_run_fmri_est at 33
  In matlabbatch\private\cfg_run_cm at 29
  In cfg_util>local_runcj at 1688
  In cfg_util at 959
  In spm_jobman>fill_run_job at 458
  In spm_jobman at 247

Looking at xVi.V,  there are only NaN's and Inf values in it. Do you have any idea what the problem could be or how to run some further diagnosis? 

That would be helpful,

thanks in advance

David