I'm trying to estimate a model, but it crashes very early on because it can't find mask.img. When I look in the folder, I can see mask.hdr (and lots of beta.hdr's and ResI.hdr's and a ResMS.hdr) but no corresponding .img files. It appears that none of the .img files are being written, hence the crash when it tries to load the mask.img.
Any idea what could be going wrong here?
Initialising parameters : ...done
Output images : ...initialised
Plane 1/46 , block 1/1 : ...read & mask dataFailed 'Model estimation'
Error using ==> spm_sample_vol
Cant open image file.
In file "/media/JG-Data/imaging/software/spm/spm8_cbu_mar2010/spm_get_data.m" (v3297), function "spm_get_data" at line 43.
In file "/media/JG-Data/imaging/software/spm/spm8_cbu_mar2010/spm_spm.m" (v3468), function "spm_spm" at line 643.
In file "/media/JG-Data/imaging/software/spm/spm8_cbu_mar2010/config/spm_run_fmri_est.m" (v3327), function "spm_run_fmri_est" at line 53.
The following modules did not run:
Failed: Model estimation