matlab default directory

5 次查看(过去 30 天)
saima
saima 2012-6-5
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 个)

Andrei Bobrov
Andrei Bobrov 2012-6-5
userpath('C:\Users\overlook\Documents')
  1 个评论
saima
saima 2012-6-5
It is not working.
moreover, why is it happening? it was not a case in previous version

请先登录,再进行评论。


Jason Ross
Jason Ross 2012-6-5
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".

类别

Help CenterFile Exchange 中查找有关 Install Products 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by