在 Apple M1 Sonoma 上使用 SPM12 时出现 Mex 文件错误

问题描述 投票:0回答:1

我无法在 MacOS Sonoma 上运行 SPM12。当我尝试启动 SPM 时,我得到以下信息:

>> spm
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.2391609 (R2023b) Update 2.

Error in spm_check_installation (line 28)
        check_basic;

Error in spm (line 290)
spm_check_installation('basic');

这是我的设置:

  • Mac M1 索诺玛
  • MATLAB_R2023b
  • SPM12

答案here适用于同样的问题,但该解决方案对我不起作用。这个答案也不起作用。

matlab
1个回答
0
投票

您应该安装 SPM12 的开发人员版本。

© www.soinside.com 2019 - 2024. All rights reserved.