preference could not be accessed

23 views (last 30 days)
On starting Matlab
Warning: "D:\OneDrive\Dokumente\Matlab" using the Custom Working Folder preference could not be accessed. Using "D:\Hartmann\Dokumente\MATLAB" as the initial working folder instead.
Why can I not use the above folder "D:\OneDrive\... ? It used to work and suddenly I have problems. On a PC and on my laptop.

Accepted Answer

Friedel Hartmann
Friedel Hartmann on 24 Oct 2017
I had activated OneDrive Files On Demand on the computer and this feature is incompatible with MATLAB, seemingly because in this mode OneDrive works with place holders.
I deactivated this mode and now everything works fine.
  1 Comment
Michael on 31 Oct 2017
I have the same problem with MATLAB 2017b and Windows Version 10.0.16299 Build 16299 (the Fall Creator's Update). I unchecks the Files on Demand setting, but still have the issue.
Are there any additional steps I can take?
Best, Michael

Sign in to comment.

More Answers (1)

Corey Silva
Corey Silva on 23 Oct 2017
It is possible that the permissions to your preferences directory have changed.
It also might be worth regenerating your preferences to see if anything changes. You can find instructions to do that below:

Community Treasure Hunt

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

Start Hunting!