MATLAB Answers

java.io-problems

9 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
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?

  0 Comments

Sign in to comment.

Sign in to answer this question.

Tags