Disable the MATLAB folder in My Documents

I have Matlab (2009b, Windows 7) configured to run in a special folder where all the Matlab files and the launch script are stored. This folder is not in My Documents.

However, Matlab creates an empty folder called “MATLAB” in “My Documents” every time it is launched. This is very annoying as this change applies to other computers that share the document folder. How can I prevent this?

+5
source share
2 answers

userpath ('clear') should do the trick.

+9
source

Just specify a new location for this folder:

>> userpath \Location\of\your\choice

You can, for example, a hidden folder. In my case, I used ~/Documents/.matlabLinux on my laptop.

0
source

All Articles