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.

回答(2 个)

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

1 个评论

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

请先登录,再进行评论。

Jason Ross
Jason Ross 2012-6-5

0 个投票

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".

类别

在 帮助中心 和 File Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息

产品

提问:

2012-6-5

Community Treasure Hunt

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

Start Hunting!

Translated by