Dear Bing,
The MEX files provided with SPM2 for 32 bit Linux platforms need to be
recompiled. You can do it by typing 'make' in the /usr/local/spm2/
directory, provided you installed the C development tools for your Linux
distribution.
Otherwise, you might try to just install these MEX files:
ftp://ftp.fil.ion.ucl.ac.uk/spm/spm2_updates/SPM2_LINUX32_MEX.tar.gz
so that newer files overwrite existing ones.
Or use SPM5/SPM8b?
Best regards,
Guillaume.
Bing Chen wrote:
> Invalid MEX-
> file '/usr/local/spm2/spm_list_files.mexglx': /usr/local/spm2
> /spm_list_files.mexglx: symbol
> mxSetM, version libmx.INTERNAL not defined in file libmx.so
> with link time reference.
> HI,
>
> Did anyone successfully run SPM2 in MATLAB7.6? I updated
> MATLAB from 6.5 to 7.6, and got the following errors when
> trying to run SPM2.
>
> -------------------------------------------
> 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
> ------------------------------------------------
>
>
> Thanks,
> Bing
--
Guillaume Flandin, PhD
Wellcome Trust Centre for Neuroimaging
University College London
12 Queen Square
London WC1N 3BG
|