Hi all,<br><br>I am trying to segment an mri volume using. When I call ft_read_mri('filename'), I get an error that says:<br><br>??? Error using ==> spm_slice_vol at 28<br>spm_slice_vol.c not compiled - see spm_MAKE.sh<br>

<br>Error in ==> spm_read_vols at 35<br>    Y(:,:,p,i) = spm_slice_vol(V(i),spm_matrix([0 0 p]),V(i).dim(1:2),0);<br><br>Error in ==> ft_read_mri at 97<br>  img = spm_read_vols(hdr);<br><br>I tried installing the most up to date version of fieldtrip and I still get the same error. Can someone help me?<br>

<br>-Allison<br>