Did you recompile a new spm_list_files? Check to see which mex files you have. If you have the appropriate mex, then check to ensure that it is in a directory earlier in the Matlab search path than the spm_list_files.m. A few things to type into matlab that may help you to figure out the problem are: which spm_list_files which path Best regards, -John On Monday 11 July 2005 19:11, Steven Laken wrote: > I am trying to install SPM2 on a dual Opteron system running SuSE 9.2, > MatLAB 7. I have recompiled the Makefile and spm_platform.m files. The SPM > window opens from MatLAB but when i press the "fMRI" or the "PET" buttons i > recieve the message below. I am a novice at programming and any help > provided would be greatly appreciated. > > Thank you in advance. > Steve > > "Initialising SPM..??? Error using ==> spm_list_files > 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.