MATLAB Answers

1

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)

Asked by John Muller on 8 Jul 2016
Latest activity Answered by Shashank on 12 Sep 2017
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?

  0 Comments

Sign in to comment.

Tags

1 Answer

Answer by Shashank on 12 Sep 2017

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

  0 Comments

Sign in to comment.