Matlab unable to install add-ons
조회 수: 215 (최근 30일)
이전 댓글 표시
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?
댓글 수: 0
답변 (1개)
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
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 Exchange에서 Introduction to Installation and Licensing에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!