How can i avoid Matlab from creating new Matlab folders everytime i start it?

8 Ansichten (letzte 30 Tage)
Hi,
always when i'm starting matlab, it creates a new Matlab folder, with a slightly different name than before.
It starts with MATLAB-COMPUTERNAME1, the next time it sets up a folder with the name MATLAB-COMPUTERNAME2, and so on. This is very annoying, because when I press Ctrl+O, it doesn't open the functions I have previously created.
Thanks for your help in advance.

Akzeptierte Antwort

michael
michael am 23 Feb. 2014
Bearbeitet: michael am 23 Feb. 2014
BUMP
Edit: I'm sorry to only have found out now, but i can confirm now that the problen was indeed on the OneDrive side, and not on the side of Matlab. The problem was, that i also had a file which was called MATLAB in the same folder, and apparently OneDrive can't handle a file and a folder having the same name, which is why i had to change the name of the file. Now it works fine. :)

Weitere Antworten (5)

Thomas
Thomas am 4 Feb. 2014
Bearbeitet: Thomas am 4 Feb. 2014
It might be defined so i the matlabrc.m file by the system administrator.
if you are the admin then you can change the settings as described here http://www.mathworks.com/help/matlab/matlab_env/startup-options.html#brlkmbe-1

michael
michael am 4 Feb. 2014
Bearbeitet: michael am 4 Feb. 2014
I am the administrator, but unfortunately I can't find the matlabrc.m file. Where is it located and which line would I have to change in order to prevent matlab from creating new folders everytime I start it?
Maybe I have to precise, because it might help resolving the problem. I'm a student, and during the week i'm living in a different place than during some weekends. Therefore I've put my Documents folder of Windows into skydrive, so that all the documents are synchronized between my two PCs (for obvious reasons).
The problem exists on both PCs, but I can't imagine it has anything to do with Skydrive, because this problem is exclusive for the MATLAB folder and doesn't exist for any other folder in my Skydrive environment.

michael
michael am 4 Feb. 2014
Bearbeitet: michael am 4 Feb. 2014
I have now found the matlabrc.m file, which is still in its default version (I haven't modified anything). I don't see any line that would modify the name of the default MATLAB folder.
Does anyone else have an idea what could be the problem?
Edit: The strange thing is, when I want to artificially create a MATLAB folder in my Documents folder, the message appears that this folder already exists, even though it doesn't (I've checked the hidden files. There's none ;) ).
  2 Kommentare
Kelly Kearney
Kelly Kearney am 4 Feb. 2014
What about startup.m? (type which startup to see if one exists). Any modifications there?
michael
michael am 4 Feb. 2014
It shouldn't. I've set up both PCs this week and put a fresh copy of Matlab 2013b on them. ;)
(I've checked and none exists.)

Melden Sie sich an, um zu kommentieren.


michael
michael am 5 Feb. 2014
... ?

michael
michael am 13 Feb. 2014
BUMP

Kategorien

Mehr zu Environment and Settings finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by