SPM12 Installation issue Matlab R2021b

11 views (last 30 days)
Hello,
I've downloaded SPM12 and unzipped the file. I set the path on MATLAB to SPM12 folder and when I enter the command "spm" I receive the following error:
Error using spm_check_installation>check_basic (line 182)
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 MACI64
in MATLAB 9.11.0.1837725 (R2021b) Update 2.
Error in spm_check_installation (line 28)
check_basic;
Error in spm (line 290)
spm_check_installation('basic');
I've additionally had a separate error occur while trying to troubleshoot this that says MEX files cannot be opened by my computer's permissions, and upon trying to change permissions there is not options under the general security system to do so. Thank you very much for any help!

Answers (1)

Marie-Eve Picard
Marie-Eve Picard on 26 Sep 2022
Edited: Marie-Eve Picard on 26 Sep 2022
Have you found a solution ? I've encoutered the same error using Matlab R2022a on a ARM MacOS machine
  1 Comment
Marie-Eve Picard
Marie-Eve Picard on 26 Sep 2022
This solved my issue: sudo spctl --master-disable in a terminal
Here's some documentation about that command: https://www.makeuseof.com/how-to-disable-gatekeeper-mac/

Sign in to comment.

Tags

Products


Release

R2021b

Community Treasure Hunt

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

Start Hunting!