Matlab unable to install add-ons

71 views (last 30 days)
Thomas
Thomas on 23 Mar 2024
Commented: Manikanta Aditya on 23 Mar 2024
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?

Answers (1)

Manikanta Aditya
Manikanta Aditya on 23 Mar 2024
Moved: Voss on 23 Mar 2024
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!
  2 Comments
Thomas
Thomas on 23 Mar 2024
Moved: Voss on 23 Mar 2024
Thanks for the answers, it works

Sign in to comment.

Categories

Find more on Introduction to Installation and Licensing in Help Center and File Exchange

Tags

Products


Release

R2024a

Community Treasure Hunt

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

Start Hunting!