Dear Takuya,
SPM MEX files for R2017a on macOS require recompilation. So you have two
options: either recompile the MEX files yourself following these
instructions:
https://en.wikibooks.org/wiki/SPM/Installation_on_64bit_Mac_OS_%28Intel%29#Compilation
or install the ones we make available here:
http://www.fil.ion.ucl.ac.uk/spm/download/spm12_updates/spm12_mexmaci64.tar.gz
Best regards,
Guillaume.
On 04/04/17 14:12, TI wrote:
> Dear experts
>
> I have tried to install spm12 on Matlab 2017a on macOS Sierra. However it does not work.
> The following error message was shown.
>
> "Error using spm_check_installation>check_basic (line 140)
> SPM uses a number of MEX files, which are compiled functions.
> These need to be compiled for the various platforms on which SPM
> is run. At the FIL, where SPM is developed, the number of
> computer platforms is limited. It is therefore not possible to
> release a version of SPM that will run on all computers. See
> /Applications/spm12/src/Makefile and
> http://en.wikibooks.org/wiki/SPM#Installation
> for information about how to compile mex files for MACI64
> in MATLAB 9.2.0.538062 (R2017a).
>
> Error in spm_check_installation (line 28)
> check_basic;
>
> Error in spm (line 290)
> spm_check_installation('basic');"
>
> What should we do to let spm work successfully on Matlab?
>
> Best
> TI
>
> PS
> I have performed the following commands successfully after downloading the spm12_updates_r6906.zip.
> "unzip -o spm12_updates_rxxxx.zip -d spm12".
>
--
Guillaume Flandin, PhD
Wellcome Trust Centre for Neuroimaging
University College London
12 Queen Square
London WC1N 3BG
|