Ciara,
You could also take a look at the SPM installation wiki pages.  I'm guessing that because of your error you have a 64-bit system.  Check out this link for further instructions on recompiling the SPM5 mex files for 64-bit installations:
 
http://en.wikibooks.org/wiki/SPM/Installation_on_64bit_Linux
 
Good luck,
Brian

 
On 9/11/07, Volkmar Glauche <[log in to unmask]> wrote:
Dear Ciara,

if you can't display any image, then you probably do not have SPMs mex
files compiled in a version suitable for MATLAB 7.4. Go to the src
directory, make sure that the mex command is the one for MATLAB 7.4 and
type "make". This should recompile and install your mex files.

Volkmar

On Tue, 11 Sep 2007, Ciara McCabe wrote:

> Dear SPMers
>
> I am trying to run spm5 with matlab 7.4 but I get the following errors, any ideas on what is going wrong?
>
>
>
>
> Initialising SPM.........done
>
> SPM present working directory:
>        /home/cmccabe
>>> --------------------------
> Running "Display Image"
> Image "/home/cmccabe/Reward/MRdata/MDS/MDSHR.struct.img" can not be resampled
> Image "/home/cmccabe/Reward/MRdata/MDS/MDSHR.struct.img" can not be resampled
>
> Thanks in advance
> Ciara
>
>
> Dr Ciara McCabe
> University of Oxford
> Dept of Psychiatry
> Neuroscience Building
> Warneford Hospital
> Oxford
> OX3 7JX
> Telephone (01865)-223778
> mob: 07966035631
>
> [log in to unmask]
> http://users.ox.ac.uk/~psyc0288/perl/ciara_mcabe.html
>
>

--
Volkmar Glauche
-
Department of Neurology         [log in to unmask]
Universitaetsklinikum Freiburg  Phone   49(0)761-270-5331
Breisacher Str. 64              Fax     49(0)761-270-5416
79106 Freiburg                   http://fbi.uniklinik-freiburg.de/