Matlab unable to install add-ons

조회 수: 215 (최근 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 CenterFile Exchange에서 Introduction 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