How to fix this error 'java.io.F​ileNotFoun​dException​' in matlab?

java.io.FileNotFoundException: C:\Users\Yuvaraj\AppData\Roaming\MathWorks\MATLAB\R2010a\matlab.prf (Access is denied)
at java.io.FileOutputStream.open(Native Method)
at java.io.FileOutputStream.<init>(Unknown Source)
at java.io.FileOutputStream.<init>(Unknown Source)
at com.mathworks.services.Prefs.save(Prefs.java:295)
at com.mathworks.services.Prefs$SavePrefsThread.run(Prefs.java:702)
This error is not allowing to run any of my coding

Categories

Asked:

on 23 Jan 2014

Edited:

on 12 Sep 2017

Community Treasure Hunt

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

Start Hunting!