MatLab is not running SPM12 on R2023b

101 ビュー (過去 30 日間)
Yashvi
Yashvi 2023 年 9 月 14 日
コメント済み: Amir Dehsarvi 2024 年 9 月 12 日
hi Mathworks,
But SPM12 still does not run on my Mac Ventura OS (I'm using Matlab R2023b, 64-bit maca64)
The error reads as "It seems that the compiled files for your computer platform are missing or not compatible"
Thank You
  1 件のコメント
Steven Lord
Steven Lord 2023 年 9 月 18 日
SPM12 is not a MathWorks product and so I don't have any experience with it, but based just on the error message and the URL of the page to which you linked (which specifically says Mac_OS_(Intel) [emphasis added]) I'm guessing it requires some MEX-files to run and the author has not compiled and/or distributed those MEX-files for Apple Silicon. I think you're probably going to need to either build those MEX-files yourself or ask the author / distributor of that product to provide them to you.

サインインしてコメントする。

採用された回答

Akshat
Akshat 2023 年 9 月 18 日
編集済み: Akshat 2023 年 9 月 18 日
Hi Yashvi,
I understand that you are encountering an error on running SPM12 on your system. From what I can understand, this issue is related to the Apple's Gatekeeper which is a security feature of the macOS operating system. It enforces code signing and verifies downloaded applications before allowing them to run, thereby preventing you from launching malicious software. The option to disable this security feature no longer appears for newer macOS versions.
Thus, to address the error, you can temporarily disable Gatekeeper in the terminal by executing the following command
>> sudo spctl --master-disable
Now, the Anywhere option should be available under the Allow apps downloaded from section of System Preferences > Security & Privacy > General. From here, you can access and change the settings to loosen or tighten Gatekeeper security.
It is recommended to undo the change and re-enable Gatekeeper once you have met your requirements. To re-enable Gatekeeper, you can do so with a simple terminal command.
>> sudo spctl --master-enable
The Anywhere option in System Preferences > Security & Privacy > General should now be unavailable, and only standard Gatekeeper settings will appear.
If you’re unsure about the current status of Gatekeeper and wish to double-check that the desired changes have occurred, you can do so with the following terminal command.
>> spctl --status
If the terminal output is assesments enabled, then the Gatekeeper is enabled. Otherwise, assesments disabled points that Gatekeeper is disabled and necessary action needs to be taken.
I hope this helps.
  4 件のコメント
Akshat
Akshat 2023 年 10 月 9 日
Could you help me with the MALTAB version and the Operating System you are using
Shikang
Shikang 2023 年 10 月 9 日
Hi! I am using 2023b and Mac OS ventura 13.5.2 with M2 chip.

サインインしてコメントする。

その他の回答 (1 件)

Amir Dehsarvi
Amir Dehsarvi 2024 年 4 月 9 日
You can also install the developers version of spm12. No need to change MEX etc.
  4 件のコメント
Pegah
Pegah 2024 年 9 月 12 日
can i install spm on online matlab?
i can not find the folder from "set path"
my device is ipad air5
Amir Dehsarvi
Amir Dehsarvi 2024 年 9 月 12 日
Hi Pegah,
I actually do not think that is an option unless you have the whole SPM12 folder in your MATLAB drive which seems a bit unfeasible.

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeGraphics Performance についてさらに検索

タグ

製品


リリース

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by