Dear Kamran, did you try to install the MEX files that can be found here: ftp://ftp.fil.ion.ucl.ac.uk/spm/spm2_updates/SPM2_R2007a_XP_MEX.zip All the best, Guillaume. kamran kazemi wrote: > Dear Kiyotaka > Thank yo very much for replay, but I use win XP. SO, do you know any > solution? > > Best Wishes > Kamran > > --- On *Tue, 11/25/08, Kiyotaka Nemoto /<[log in to unmask]>/* wrote: > > From: Kiyotaka Nemoto <[log in to unmask]> > Subject: Re: [SPM] problem with runung SPM2 > To: "kamran kazemi" <[log in to unmask]> > Cc: "Kiyotaka Nemoto" <[log in to unmask]> > Date: Tuesday, November 25, 2008, 10:46 AM > > Dear Kamran, > > I think you just need to compile SPM2 for your circumstance. > > If you use 32bit linux-box, try the following. > (Suppose your spm2 path is /usr/local/spm2) > > 1. Run a console > 2. Change directory to SPM2 > $cd /usr/local/spm2 > 3. using su or sudo or anything, become a superuser > 4. just type make from console. > #make > > that's it. > > If you use 64bit linux-box, see the following link. > > http://www.jiscmail.ac.uk/cgi-bin/wa.exe?A2=ind06&L=SPM&P=R559391 > > I hope it helps, > > Kiyotaka > > > 2008/11/25 kamran kazemi <[log in to unmask]>: > > Dear SPMers > > I want to run SPM2 with MATLAB 7.5 (or even with 7.4) but evry time I got > > the following massage: > > > > Error using ==> spm_list_files at 15 > > spm_list_files.c not compiled - see spm_MAKE.sh > > > > Error in ==> spm at 1140 > > [null,tmp] = spm_list_files(Tdir,'-'); > > > > Error in ==> spm at 768 > > xTB = spm('TBs'); > > > > Error in ==> spm at 450 > > Fmenu = spm('CreateMenuWin','off'); > fprintf('.') > > ??? Error while evaluating uicontrol Callback > > > > > > So, I want to know if there is solution. > > > > Best Wishes > > Kamran > > > > > > -- > Kiyotaka Nemoto, M.D. > Department of Psychiatry, > Ikeda Hospital > 3690-2 Kaiharaduka Ryugasaki, > Ibraki 301-0856 Japan > E-mail: [log in to unmask] > > -- Guillaume Flandin, PhD Wellcome Trust Centre for Neuroimaging University College London 12 Queen Square London WC1N 3BG