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
for information about how to compile mex files for MACI64
in MATLAB 126.96.36.1998062 (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".