Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Prevent "MATLAB" folder in My Documents

Tags:

matlab

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?

like image 563
Petter Avatar asked Feb 20 '10 10:02

Petter


Video Answer


1 Answers

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>')

like image 132
Jonas Avatar answered Sep 22 '22 15:09

Jonas