java.io-problems

2 views (last 30 days)
Yevgeny Gayev
Yevgeny Gayev on 9 Apr 2018
Answered: Yevgeny Gayev on 13 Apr 2018
Since MATLAB v. 2017, as well as in my recent v.2018a, I get "complains" each time as I run the MATLAB. Namelly:
java.io.FileNotFoundException: C:\Users\Home\AppData\Roaming\MathWorks\MATLAB\R2018a\matlab.prf (Отказано в доступе)
at java.io.FileOutputStream.open0(Native Method)
at java.io.FileOutputStream.open(FileOutputStream.java:270)
at java.io.FileOutputStream.<init>(FileOutputStream.java:213)
at java.io.FileOutputStream.<init>(FileOutputStream.java:162)
at com.mathworks.services.Prefs.save(Prefs.java:632)
at com.mathworks.services.Prefs$SavePrefsThread.run(Prefs.java:1343)
java.io.FileNotFoundException: C:\Users\Home\AppData\Roaming\MathWorks\MATLAB\R2018a\matlab.prf (Отказано в доступе)
at java.io.FileOutputStream.open0(Native Method)
at java.io.FileOutputStream.open(FileOutputStream.java:270)
at java.io.FileOutputStream.<init>(FileOutputStream.java:213)
at java.io.FileOutputStream.<init>(FileOutputStream.java:162)
at com.mathworks.services.Prefs.save(Prefs.java:632)
at com.mathworks.services.Prefs$SavePrefsThread.run(Prefs.java:1343)
java.io.FileNotFoundException: C:\Users\Home\AppData\Roaming\MathWorks\MATLAB\R2018a\matlab.prf (Отказано в доступе)
at java.io.FileOutputStream.open0(Native Method)
at java.io.FileOutputStream.open(FileOutputStream.java:270)
at java.io.FileOutputStream.<init>(FileOutputStream.java:213)
at java.io.FileOutputStream.<init>(FileOutputStream.java:162)
at com.mathworks.services.Prefs.save(Prefs.java:632)
at com.mathworks.services.Prefs$SavePrefsThread.run(Prefs.java:1343)
What's the reason, and how to remove these?
  1 Comment
Guillaume
Guillaume on 9 Apr 2018
Edited: Guillaume on 9 Apr 2018
Does the directory C:\Users\Home\AppData\Roaming\MathWorks\MATLAB\R2018a\ exist on your computer?

Sign in to comment.

Answers (1)

Yevgeny Gayev
Yevgeny Gayev on 13 Apr 2018
Dear Guillaume, thanks for your reply! Yes, directory C:\Users\Home\AppData\Roaming\MathWorks\MATLAB\R2018a does exist on my computer! As well as directory C:\Users\Home\AppData\Roaming\MathWorks\MATLAB\R2018a_licenses
I saw there also all my previous MATLAB-versions. What these shoud mean, then?

Categories

Find more on Search Path in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!