Why do I get "Failed to create folder" when installing MATLAB on Mac?

12 views (last 30 days)
Why am I getting the error message "Failed to create folder" on Mac after selecting an installation location?
Error message should include "/Applications/MATLAB_RXXXXx"

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 1 Nov 2019
Edited: MathWorks Support Team on 1 Nov 2019
If the user is receiving this error message, their Mac account does not have the permissions required to create the /Applications/MATLAB_RXXXXx directory.
The workaround to resolve this is to swap to an administrative account or run the installer with the sudo command in Terminal. The syntax for the Terminal window would be as follows:
sudo /Volumes/matlab_RXXXXx_maci64/InstallForMacOSX.app/Contents/MacOS/InstallForMacOSX

More Answers (0)

Categories

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

Products


Release

R2019b

Community Treasure Hunt

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

Start Hunting!