java.io-problems

2 次查看(过去 30 天)
Yevgeny Gayev
Yevgeny Gayev 2018-4-9
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 个评论
Guillaume
Guillaume 2018-4-9
编辑:Guillaume 2018-4-9
Does the directory C:\Users\Home\AppData\Roaming\MathWorks\MATLAB\R2018a\ exist on your computer?

请先登录,再进行评论。

回答(1 个)

Yevgeny Gayev
Yevgeny Gayev 2018-4-13
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?

类别

Help CenterFile Exchange 中查找有关 Adding custom doc 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by