SPM12 problem in macOS

42 Ansichten (letzte 30 Tage)
MERVENUR
MERVENUR am 21 Sep. 2024
Beantwortet: Emily am 15 Aug. 2025
Hi, I'm using macOS Sequoia 15 (M1 chip). I'm trying to run SPM12 in my matlab 2023b, but I get the following error:
"Error using spm_check_installation>check_basic
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. It seems that the compiled files for your computer platform
are missing or not compatible. See
https://en.wikibooks.org/wiki/SPM/Installation_on_64bit_Mac_OS_(Intel)
for information about how to compile MEX files for MACA64
in MATLAB 23.2.0.2668659 (R2023b) Update 9."
I already tried the instructions in here "https://en.wikibooks.org/wiki/SPM/Installation_on_64bit_Mac_OS_(Intel)" and here "https://www.fil.ion.ucl.ac.uk/spm/docs/development/compilation/macos/" but nothing is working. I also downloaded/installed the Xcode.
For the "make distclean", it constantly says "Unknowm platform arm64" eventhough I edited the platform from the "nano Makefile.var" page. Can you please help me with this? Please note that I'm just beginning to learn matlab, so I need step by step instructions. Thanks in advance!

Antworten (3)

Animesh
Animesh am 21 Sep. 2024
Try running the following command in the terminal:
sudo spctl --master-disable
You can refer to the documentation below for more details on the command:
Additionally, the following MATLAB Answers discuss a similar problem and might be helpful:

Yinchen
Yinchen am 20 Nov. 2024
I have the same issues with using Matlab for apple silicon. Once I switched it to the one for macos with Intel processor, the spm worked.

Emily
Emily am 15 Aug. 2025
I also experienced that if you download and install Matlab for intel and run it on a silicon chip Mac, it will run spm12 successfully. At least the first level processing worked.

Kategorien

Mehr zu Install Products finden Sie in Help Center und File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by