Hi Ben,
You should remove some of MarsBar's directories as they overshadow some
SPM functions:
rmpath /home/nir/Documents/MATLAB/spm12/toolbox/marsbar-0.44/spm99
Best regards,
Guillaume.
On 04/09/2019 20:33, Ben Davidson wrote:
> Hi there!
> I'm trying to re-slice a t1 1mm scan from a 1.5T to the same dimensions as another t1 1mm scan from a 3T scanner. No matter what I try, I consistently get this error message:
> Failed 'Coregister: Estimate & Reslice'
> Index exceeds matrix dimensions.
> In file "/home/nir/Documents/MATLAB/spm12/toolbox/marsbar-0.44/spm99/spm_write_vol.m" (???), function "spm_write_vol" at line 22.
> In file "/home/nir/Documents/MATLAB/spm12/spm_reslice.m" (v5929), function "reslice_images" at line 244.
> In file "/home/nir/Documents/MATLAB/spm12/spm_reslice.m" (v5929), function "spm_reslice" at line 133.
> In file "/home/nir/Documents/MATLAB/spm12/config/spm_run_coreg.m" (v5956), function "spm_run_coreg" at line 45.
>
> The following modules did not run:
> Failed: Coregister: Estimate & Reslice
>
> Any advice would be greatly appreciated!
>
--
Guillaume Flandin, PhD
Wellcome Centre for Human Neuroimaging
UCL Queen Square Institute of Neurology
London WC1N 3BG
|