Why do I receive an error, "Unable to write to the selected folder" when installing MATLAB?

26 visualizzazioni (ultimi 30 giorni)
When I try to run the MathWorks Product Installer, I eventually run into an error reading, "Unable to write to the selected folder." How do I resolve this?

Risposta accettata

MathWorks Support Team
MathWorks Support Team il 31 Mar 2025
Modificato: MathWorks Support Team il 10 Apr 2025
On Windows, this error may occur due to the following reasons:
  • The MathWorks Product Installer is attempting to write to a folder that the user running it does not have permission to write to.
  • If the MathWorks Product Installer is not running with full administrative privileges. Attempting to select any folder will result in this error.
On Linux: 
This occurs when running the installer without sudo and trying to install in a sudo-required folder (such as the default location, /usr/local/MATLAB/R20XXy).
To get around, either run the installer with sudo or select a different location which doesn't require sudo. For more information on how to install MATLAB on Linux, follow the documentation below:
Download and Install MATLAB

Più risposte (0)

Categorie

Scopri di più su Introduction to Installation and Licensing in Help Center e File Exchange

Tag

Non è stata ancora inserito alcun tag.

Community Treasure Hunt

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

Start Hunting!

Translated by