フィルターのクリア

Matlab is showing error in Mac when installed in external drive

3 ビュー (過去 30 日間)
RUBIN THOMAS
RUBIN THOMAS 2023 年 6 月 13 日
回答済み: Sarthak 2023 年 6 月 15 日
  2 件のコメント
Walter Roberson
Walter Roberson 2023 年 6 月 13 日
I have not observed that problem on my Mac systems. I have installed MATLAB on external devices, and have run it from external devices.
(In my case, each time I installed, it was into what was a boot drive at the time, so under /Applications as it existed then. But I have executed out of an Application directory that is not the current boot session's /Application )
Rik
Rik 2023 年 6 月 13 日
Did you check the syntax of the pathdef.m file with a text editor? (or the Matlab editor if that works as well) That way you should be able to determine whether the problem is with your installation, or just with that file.

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

回答 (1 件)

Sarthak
Sarthak 2023 年 6 月 15 日
Hello Rubin,
Mac OS has a feature called SIP (System Integrity Protection), which prevents your system from any malicious code. It can prevent some applications from running correctly when installed on the external drive.
Here are the steps to disable SIP:
  • Restart your Mac and hold down Command+R until the Apple logo appears.
  • When the macOS Utilities window appears, select "Utilities" from the menu bar, and then select "Terminal".
  • In the Terminal window, type "csrutil disable" and press enter.
  • Restart your Mac.
Note : Try installing MATLAB on internal drive instead, because disabling SIP may undermine the security of your system, so it is usually not recommended.

カテゴリ

Help Center および File ExchangeIntroduction to Installation and Licensing についてさらに検索

製品


リリース

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by