SPM MEX files for R2017a on macOS require recompilation. So you have two
options: either recompile the MEX files yourself following these
or install the ones we make available here:
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
> for information about how to compile mex files for MACI64
> in MATLAB 220.127.116.118062 (R2017a).
> Error in spm_check_installation (line 28)
> Error in spm (line 290)
> What should we do to let spm work successfully on Matlab?
> 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