MATLAB Answers

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

85 views (last 30 days)
Kishore
Kishore on 23 Jan 2014
Edited: Walter Roberson on 12 Sep 2017
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

Community Treasure Hunt

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

Start Hunting!

Translated by