My best guess is that some of your images are different sizes (maybe a scout image or an anatomical has been included, in addition to the functional data). Best regards, -John On Thursday 26 March 2009 17:49, MFM2139 wrote: > Hello Group. > > Anyone have any insight into why we are getting this error when we run > slice timing correction (SPM5)? Anyone have a potential solution? > > Error running job: Error using ==> mat2file > Index exceeds matrix dimensions (2). > In file "[log in to unmask]" (v945), function "subfun" at > line 125. > In file "[log in to unmask]" (v945), function "subsasgn" at > line 63. > In file "/apps/spm5/spm_write_plane.m" (v800), function "spm_write_plane" > at line 33. > In file "/apps/spm5/spm_slice_timing.m" (v671), function "spm_slice_timing" > at line 261. > In file "/apps/spm5/spm_config_slice_timing.m" (v1032), function > "slicetiming" at line 170. > > Thanks in advance.