Matlab unable to install add-ons

282 vues (au cours des 30 derniers jours)
Thomas
Thomas le 23 Mar 2024
Commenté : Ryan le 8 Mai 2025
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?

Réponses (1)

Manikanta Aditya
Manikanta Aditya le 23 Mar 2024
Déplacé(e) : Voss le 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!
  8 commentaires
Martin
Martin le 19 Fév 2025
Worked for me thanks a lot!
Ryan
Ryan le 8 Mai 2025
It works but is really dangerous, the better option is to reinstall matlab in a folder after the home folder.

Connectez-vous pour commenter.

Catégories

En savoir plus sur Introduction to Installation and Licensing dans Help Center et File Exchange

Tags

Produits


Version

R2024a

Community Treasure Hunt

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

Start Hunting!

Translated by