Have you installed recent updates for SPM5 (after 2007-05-14)? If so, then
you should hopefully have a spm_sample_vol.mexw64 file, and SPM5 should work.
Best regards,
-John
On Wednesday 25 July 2007 11:33, John McLean wrote:
> Hi,
>
> I have installed SPM5 on my windows Xp x64 system, with the matlab
> v7.2.0.232.
>
> The spm5 interface opens fine, however when i try to display an image
> (nifti or analyze) i get the following error in the matlab window:
>
> ---------------------------------------------------------------------
>
> Image "C:\Program Files\MATLAB\R2006a\work\VBMdata\X\1\C3176M74.img" can
> not be resampled
> Image "C:\Program Files\MATLAB\R2006a\work\VBMdata\X\1\C3176M74.img" can
> not be resampled
> Image "C:\Program Files\MATLAB\R2006a\work\VBMdata\X\1\C3176M74.img" can
> not be resampled
> ??? Error using ==> spm_sample_vol
> spm_sample_vol.c not compiled - see Makefile
>
> Error in ==> spm_image at 105
> set(st.in,'String',sprintf('%g',spm_sample_vol(st.vols{1},pos
> (1),pos(2),pos(3),st.hld)));
>
> Error in ==> spm_orthviews at 254
> eval(st.callback);
>
> ??? Error using ==> if strcmp(get
> (gcf,'SelectionType'),'normal'),spm_orthviews('Reposition');elseif strcmp
> (get(gcf,'SelectionType'),'extend'),spm_orthviews
> ('reposition');spm_orthviews('context_menu','ts',1);end;
> Error using ==> spm_sample_vol
> spm_sample_vol.c not compiled - see Makefile
>
> ??? Error while evaluating axes ButtonDownFcn
>
> ------------------------------------------------------------------------
>
> I have looked at the makefile for guidance but can't really follow it. Can
> anyone offer me some assistance?
>
> Best wishes
>
> John
|