matlab default directory

Hello,
I just now upgraded to R2012a. after installation and activation when i start matlab it starts from C:\Program Files\MATLAB\R2012a\bin. but why? It is supposed to start from C:\Users\overlook\Documents. But why so?
Thanks in advance.

Answers (2)

userpath('C:\Users\overlook\Documents')

1 Comment

It is not working.
moreover, why is it happening? it was not a case in previous version

Sign in to comment.

Jason Ross
Jason Ross on 5 Jun 2012

0 votes

Look at the properties of the shortcut that starts MATLAB (select the icon, right click, properties). There is a field called "Start In". You can set it to "C:\users\overlook\documents" there, or use something like "%USERPROFILE%\Documents" if you want something more generic.
There are too many reasons this could have happened to speculate on the "why".

Categories

Products

Asked:

on 5 Jun 2012

Community Treasure Hunt

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

Start Hunting!