| I have just installed spm on a linux machine.
| When starting it for fMRI data I get the following
| error massage:
|
| -----------------------------------
| Initialising SPM..??? Error while evaluating uicontrol Callback.
|
|
| >> Unable to load mex file: /home/beo1/SPM/spm99/spm_list_files.mexlx.
| File not found
| ??? Invalid MEX-file
|
| Error in ==> /home/beo1/SPM/spm99/spm.m
| On line 1050 ==> [null,tmp] = spm_list_files(Tdir,'-');
|
| Error in ==> /home/beo1/SPM/spm99/spm.m
| On line 667 ==> xTB = spm('TBs');
|
| Error in ==> /home/beo1/SPM/spm99/spm.m
| On line 439 ==> Fmenu =
| spm('CreateMenuWin','off'); fprintf('.')
|
| ------------------------------------------
|
| The file:
| /home/beo1/SPM/spm99/spm_list_files.mexlx
| is existent and the path is correct.
|
| I also recompiled the mex files, but it doesn't help.
|
| I found the mail below in the archieve, but it does
| not really tell me something:
|
| http://www.mailbase.ac.uk/lists/spm/2000-03/0032.html
I'm afraid I am not an expert in Linux. All I can suggest at
this time is that you see if it is a general problem with the
mex files, or if it is specific to spm_list_files.
You can see if it is a general problem by typing:
V=spm_vol('your_spm_directory/canonical/avg152T1.img');
img = spm_slice_vol(V,spm_matrix([0 0 30]),V.dim(1:2),1);
imagesc(img');
If this displays an image then it is not a general mex file problem.
If it doesn't then it may mean that you need to change "your_spm_directory"
to the name of your spm directory. Otherwise, it may indicate a problem
specific to spm_list_files.
This is about all I can say at the moment. Best regards,
-John
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|