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

22 次查看(过去 30 天)
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?

采纳的回答

MathWorks Support Team
编辑:MathWorks Support Team 2025-4-10
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

更多回答(0 个)

类别

Help CenterFile 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!

Translated by