Error using save Unable to write file C:\Users\AHMED\AppData\Roaming\MathWorks\MATLAB\R2017b\matlabprefs.mat: permission denied
in matlab .................. how can i fix this error ?

 Accepted Answer

Walter Roberson
Walter Roberson on 20 Apr 2018

If you have administrator access to the system, then once Run As Administrator, and do something that causes the preferences to be saved. That should permit it to create the file.

2 Comments

please tell me how can i solve this error ?
I just did. Run As Administrator, and modify your preferences (any change is to them is fine.)

Sign in to comment.

More Answers (0)

Categories

Tags

Community Treasure Hunt

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

Start Hunting!