I have Matlab (2009b, Windows 7) set up to start in a special folder where I keep all my Matlab files and a startup script. This folder is not in "My Documents"
Still, Matlab creates an empty folder called "MATLAB" in "My Documents" every time it is started. This is very annoying since this change propagates to other computers which share the document folder. How can I prevent this?
userpath('clear')
should do the trick.
[edit]: As per comments, on some (newer?) systems, you may have to set userpath
to an existing folder, i.e. userpath('<new_path>')
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With