Set environment variable before startup
古いコメントを表示
Hello,
I am running Matlab 2009a on Ubuntu 11.04.
I want to change the startup directory of matlab and I have found in the documentation the following instructions
"You can specify that the userpath be the startup directory by setting the value of the environment variable MATLAB_USE_USERPATH to 1 prior to startup. By default, userpath is userhome/Documents/MATLAB, and MATLAB automatically adds the userpath directory to the top of the search path upon startup."
How precisely do I change the value of the environment variable before startup? I am still a linux newbie, so detailed instructions would be greatly appreciated.
Many thanks
4 件のコメント
Walter Roberson
2011 年 8 月 13 日
Iain, at the linux prompt, before you start MATLAB, please execute the command
echo $SHELL
and tell us what the result is.
Knowing that will help us tailor the response to your situation, as there major methods of permanently setting environment variables depend upon which shell you are using.
Iain
2011 年 8 月 13 日
Daniel Shub
2011 年 8 月 14 日
Are you starting MATLAB from the command line or from a launcher? If you are starting it from a launcher, what DE are you using (e.g., Gnome 2.x, Gnome 3, KDE, etc)?
Iain
2011 年 8 月 14 日
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Startup and Shutdown についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!