Dear Michelle,
do you have any toolboxes installed which contain their own copy of
SPM functions? I have seen similar problems when WFU pickatlas was in
MATLABs path. If this is the cause of the error message, please do not
start WFU pickatlas before running your batch or remove its folder
from MATLAB path.
Volkmar
Quoting Michelle Umali <[log in to unmask]>:
> Hello All,
>
> I've used a mat for other subjects successfully. However, I keep getting
> this message when I've tried to run this mat file on new subjects, and I get
> the following error:
>
>
>
>
>
> Error running job: Error using ==> @nifti\private\read_hdr
>
> Unrecognised datatype (-1) for "E:\cvsret\cvsret16\r1\vol0012.img.i
>
> In file "C:\SPM5\spm5\@nifti\private\read_hdr.m" (v922), function "read_hdr"
> at line 55.
>
> In file "C:\SPM5\spm5\@nifti\nifti.m" (v253), function "nifti" at line 27.
>
> In file "C:\SPM5\spm5\spm_vol_nifti.m" (v112), function "spm_vol_nifti" at
> line 16.
>
> In file "C:\SPM5\spm5\spm_vol.m" (v504), function "subfunc" at line 122.
>
> In file "C:\SPM5\spm5\spm_vol.m" (v504), function "subfunc1" at line 83.
>
> In file "C:\SPM5\spm5\spm_vol.m" (v504), function "subfunc2" at line 71.
>
> In file "C:\SPM5\spm5\spm_vol.m" (v504), function "spm_vol" at line 57.
>
> In file "C:\SPM5\spm5\spm_slice_timing.m" (v671), function
> "spm_slice_timing" at line 172.
>
> In file "C:\SPM5\spm5\spm_config_slice_timing.m" (v654), function
> "slicetiming" at line 170.
>
>
>
> What could be causing this error and how does one fix the problem?
>
>
>
> Thank you,
>
> Michelle
>
>
|