Why MATLAB R2021a always creates a "Users\(user name)\AppD​ata\Roamin​g\MathWork​s\MATLAB\R​2021a" folder in disk E:?

45 views (last 30 days)
I've installed MATLAB R2021a in disk D:, and I've kept my "AppData" folder at the default directory "C:\Users\(user name)\AppData". There DOES exist a folder "C:\Users\(user name)\AppData\Roaming\MathWorks\MATLAB\R2021a", but every time I use MATLAB R2021a, it creates a folder in disk E: with the directory "E:\Users\(user name)\AppData\Roaming\MathWorks\MATLAB\R2021a". This folder contains nothing and occupies 0 byte. Any other application does not create a similar folder in disk E:, either. What should I do to solve this problem?

Answers (1)

Chidvi Modala
Chidvi Modala on 31 Mar 2021
You may try executing
userpath /my/custom/location
and then restart MATLAB.
  8 Comments
Daniel Sprecher
Daniel Sprecher on 22 Apr 2021
Here is the answer from the MathWorks support:
Our development team is aware of this issue. Besides, the issue has already been resolved in the upcoming release of MATLAB (R2021b), but a robust solution does not currently exist for R2021a. Unfortunately, this means my best recommendation is to stick with an earlier release of MATLAB in which this issue is not present (R2020b or earlier) until the full release of MATLAB R2021b.
I changed the folder to "hidden".

Sign in to comment.

Categories

Find more on Startup and Shutdown in Help Center and File Exchange

Products


Release

R2021a

Community Treasure Hunt

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

Start Hunting!