MATLAB Answers

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)

46 views (last 30 days)
John Muller
John Muller on 8 Jul 2016
Answered: Shashank on 12 Sep 2017
This occurs when I start Matlab:
  • _ C:\Users\jaaks_000\AppData\Roaming\MathWorks\MATLAB\R2016a\matlab.prf (Access is denied)_*
What does it maen and how can I fix it?

Answers (1)

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


Community Treasure Hunt

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

Start Hunting!