Matlab unable to install add-ons

291 ビュー (過去 30 日間)
Thomas
Thomas 2024 年 3 月 23 日
コメント済み: Ryan 2025 年 5 月 8 日
I'm on Arch Linux and when I try to install an add-on on Matlab, I get this error: "Unable to install because you do not have write permissions to this folder: /usr/local/MATLAB/R2024a" How can I solve this?

回答 (1 件)

Manikanta Aditya
Manikanta Aditya 2024 年 3 月 23 日
移動済み: Voss 2024 年 3 月 23 日
The error message you’re seeing is due to insufficient write permissions for the directory /usr/local/MATLAB/R2024a. This is common when trying to modify system directories as a non-root user.
Try this in terminal:
sudo chown -R yourusername:yourusername /usr/local/MATLAB/R2024a
This command changes the owner of the /usr/local/MATLAB/R2024a directory to yourusername, giving you write permissions.
Hope this works!
  8 件のコメント
Martin
Martin 2025 年 2 月 19 日
Worked for me thanks a lot!
Ryan
Ryan 2025 年 5 月 8 日
It works but is really dangerous, the better option is to reinstall matlab in a folder after the home folder.

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

カテゴリ

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

タグ

製品


リリース

R2024a

Community Treasure Hunt

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

Start Hunting!

Translated by