One of three things occurred here:

(1) The file:
C:\Users\MAhsa\Documents\MATLAB\Q1_motor\201111\tfMRI_MOTOR_LRx001.img does not exist.

(2) The file:
C:\Users\MAhsa\Documents\MATLAB\Q1_motor\201111\tfMRI_MOTOR_LRx001.hdr does not exist.

(3) One of the above files has become corrupted/modified incorrectly.

Best Regards, Donald McLaren

On Sat, Jul 19, 2014 at 9:36 PM, Mahsa Alizade shalchy <[log in to unmask]> wrote:

Dear Experts
Hello
I tried loading a saved batch of GLM first level analysis.However,after defining new directory and loading new images I encountered the following errors:
Mapping files                           : Failed  'fMRI model specification'
Error using read_hdr (line 62)
Bad vox_offset (0) for "C:\Users\MAhsa\Documents\MATLAB\Q1_motor\201111\tfMRI_MOTOR_LRx001.img.
In file "C:\Users\MAhsa\Documents\MATLAB\spm8 updated\@nifti\private\read_hdr.m" (v1143), function "read_hdr" at line 62.
In file "C:\Users\MAhsa\Documents\MATLAB\spm8 updated\@nifti\nifti.m" (v4270), function "nifti" at line 27.
In file "C:\Users\MAhsa\Documents\MATLAB\spm8 updated\spm_vol_nifti.m" (v1143), function "spm_vol_nifti" at line 16.
In file "C:\Users\MAhsa\Documents\MATLAB\spm8 updated\spm_vol.m" (v4045), function "subfunc" at line 124.
In file "C:\Users\MAhsa\Documents\MATLAB\spm8 updated\spm_vol.m" (v4045), function "subfunc1" at line 77.
In file "C:\Users\MAhsa\Documents\MATLAB\spm8 updated\spm_vol.m" (v4045), function "subfunc2" at line 69.
In file "C:\Users\MAhsa\Documents\MATLAB\spm8 updated\spm_vol.m" (v4045), function "spm_vol" at line 54.
In file "C:\Users\MAhsa\Documents\MATLAB\spm8 updated\spm_fmri_spm_ui.m" (v4421), function "spm_fmri_spm_ui" at line 368.
In file "C:\Users\MAhsa\Documents\MATLAB\spm8 updated\config\spm_run_fmri_spec.m" (v4185), function "spm_run_fmri_spec" at line 301.


The following modules did not run:
Failed: fMRI model specification

I do appreciate your help.

Regards
Mahsa,