Print

Print


Hi,

I am trying to analyse 4D fMRI data, but it crashes at the Realign&Unwarp stage.
I get the following error message:

------------------------------------------------------------------------
Running job #1
------------------------------------------------------------------------
Running 'Realign & Unwarp'
Failed  'Realign & Unwarp'
Error using ==> colon
Maximum variable size allowed by the program is exceeded.
In file "C:\spm8\spm_realign.m" (v4152), function "smooth_vol" at line 391.
In file "C:\spm8\spm_realign.m" (v4152), function "realign_series" at line 265.
In file "C:\spm8\spm_realign.m" (v4152), function "spm_realign" at line 134.
In file "C:\spm8\config\spm_run_realignunwarp.m" (v4185), function "spm_run_realignunwarp" at line 81.

The following modules did not run:
Failed: Realign & Unwarp


I also intermittently get this error message:
------------------------------------------------------------------------
Running job #1
------------------------------------------------------------------------
Running 'Realign & Unwarp'
Failed  'Realign & Unwarp'
Error using ==> spm_bsplinc
Cant map view of file.  It may be locked by another program.
In file "C:\spm8\spm_realign.m" (v4152), function "smooth_vol" at line 405.
In file "C:\spm8\spm_realign.m" (v4152), function "realign_series" at line 265.
In file "C:\spm8\spm_realign.m" (v4152), function "spm_realign" at line 134.
In file "C:\spm8\config\spm_run_realignunwarp.m" (v4185), function "spm_run_realignunwarp" at line 81.

The following modules did not run:
Failed: Realign & Unwarp


I am using:
Windows XP, Service Pack 3, 32-bit
Intel Core2 Duo CPU E8400 @ 3.00 GHz
4 GB of RAM

Alternatively, is there a way in SPM to split the 4D volume into its constituent scans? I know there is fslsplit, but that requires me to transfer the 4D files to a virtual unix machine, run fslsplit, and then transfer the files back to Windows...

Any help would be greatly appreciated,

Tobias