What does this mean and how do I correct it?:java.i​o.FileNotF​oundExcept​ion: C:\Users\j​aaks_000\A​ppData\Roa​ming\MathW​orks\MATLA​B\R2016a\m​atlab.prf (Access is denied)

26 次查看(过去 30 天)
This occurs when I start Matlab:
  • _ java.io.FileNotFoundException: C:\Users\jaaks_000\AppData\Roaming\MathWorks\MATLAB\R2016a\matlab.prf (Access is denied)_*
What does it maen and how can I fix it?

回答(1 个)

Shashank
Shashank 2017-9-12
Hi John,
The issue here seems to be that MATLAB is unable to find the PREFDIR or access the parent directory of PREFDIR.
The following steps might resolve the issue:
1.Type PREFDIR command in MATLAB command prompt.This gives you the path to the directory. Open up the PREFDIR using Windows Explorer.
2. Close MATLAB.
3. The folder which contains the PREFDIR folder would usually be hidden. Unhide this by right-clicking on the folder and choosing properties.
4. Once it is made sure that the folder is not hidden, restart MATLAB.
- Shashank

类别

Help CenterFile Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by