This part is the key to the error message:
> Error using ==> mat2file
>
> Cant open file.
>
> In file "C:\Program Files\MATLAB\R2009b\work\spm8\@file_array\subsasgn.m"
> (v4136), function "subfun" at line 132.
It looks like it is unable to open an image file (probably one of the
c*.nii or rc*.nii images). I'd suggest checking the write permission
on the directory (or even the filesystem on which the directory is
found). I these files already exist, then also check the permissions
on these.
Best regards,
-John
On 21 February 2012 10:06, Cristina Muscio <[log in to unmask]> wrote:
> Dear All,
>
> yesterday I tried to use several times SPM8 using the New Segment option.
> After some minutes of running, the pre-processing stopped with the following
> error message. May I ask you the meaning and the reason of this message?
>
>
> Error using è < a href=”matlab: opentoline (‘cfg_until.m’,835,0)”>cfg_until
> at 835</a>
>
> Job execution failed. The full log of this run can be found in MATLAB
> command window, starting with the lines (look for the line showing the exat
> #job as displayed in this error message)
>
> Running job #1
>
> ------------------------------------------------------------------------
>
> Running 'New Segment'
>
> Failed 'New Segment'
>
> Error using ==> mat2file
>
> Cant open file.
>
> In file "C:\Program Files\MATLAB\R2009b\work\spm8\@file_array\subsasgn.m"
> (v4136), function "subfun" at line 132.
>
> In file "C:\Program Files\MATLAB\R2009b\work\spm8\@file_array\subsasgn.m"
> (v4136), function "subsasgn" at line 70.
>
> In file "C:\Program Files\MATLAB\R2009b\work\spm8\spm_write_plane.m"
> (v1143), function "spm_write_plane" at line 33.
>
> In file "C:\Program
> Files\MATLAB\R2009b\work\spm8\toolbox\Seg\spm_preproc_write8.m" (v4194),
> function "spm_preproc_write8" at line 270.
>
> In file "C:\Program
> Files\MATLAB\R2009b\work\spm8\toolbox\Seg\spm_preproc_run.m" (v4221),
> function "run_job" at line 115.
>
> In file "C:\Program
> Files\MATLAB\R2009b\work\spm8\toolbox\Seg\spm_preproc_run.m" (v4221),
> function "spm_preproc_run" at line 30.
>
> In file "C:\Program
> Files\MATLAB\R2009b\work\spm8\toolbox\Seg\tbx_cfg_preproc8.m" (v4221),
> function "spm_local_preproc_run" at line 353.
>
> The following modules did not run:
>
> Failed: New Segment
>
>
> I'm looking forward to receiving your reply.
>
> Thank you very much.
>
> Cristina
|