Matlab unable to install add-ons

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일

11 개 추천

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

Thomas
Thomas 2024년 3월 23일
이동: Voss 2024년 3월 23일
Thanks for the answers, it works
Manikanta Aditya
Manikanta Aditya 2024년 3월 23일
Perfect, Thanks!
Guðjón Bergmann
Guðjón Bergmann 2024년 7월 3일
Worked for me as well. Thanks!
Yash
Yash 2025년 1월 10일
Worked for me aswell. Thank you!
鹤梦
鹤梦 2025년 2월 11일
Worked for me as well. Thanks!
Bendegúz
Bendegúz 2025년 2월 17일
This worked for me as well! I am using mint.
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.

댓글을 달려면 로그인하십시오.

카테고리

도움말 센터File Exchange에서 Startup and Shutdown에 대해 자세히 알아보기

제품

릴리스

R2024a

태그

질문:

2024년 3월 23일

댓글:

2025년 5월 8일

Community Treasure Hunt

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

Start Hunting!

Translated by