how do I set up a user for both linux and windows matlab use?

4 ビュー (過去 30 日間)
George
George 2011 年 11 月 12 日
Hello,
I have users who use Matlab on Windows and have matlab settings in their home directory. I just installed Matlab for linux and am getting lots of errors because Matlab is readng the Windows settings in the user homedir.
Any ideas on how to separate the two OS's for the user?

回答 (2 件)

Daniel Shub
Daniel Shub 2011 年 11 月 13 日
This seems strange to me, how did you get the Linux MATLAB to read the Windows preferences? Assuming you haven't linked the Windows and Linux preference directories, MATLAB should treat them as independent.
  2 件のコメント
George
George 2011 年 11 月 14 日
Hi Daniel,
We use NIS and Netapp here, so their home directory is seen on both linux and Windows. There is a "matlab" directory in their home directory and it read that one. Maybe if I create a ".matlab" linux will read that one instead?
Daniel Shub
Daniel Shub 2011 年 11 月 14 日
On Windows in r2010a the preference directory is
%HOMEPATH%\Application Data\MathWorks\MATLAB\R2010a
while on Linux in r20aa1 it is
$HOME/.matlab/R2011a
The MATLAB directory on Windows is not where the preferences are stored.

サインインしてコメントする。


Ken Atwell
Ken Atwell 2011 年 11 月 13 日
First, I would confirm that the preference folders are indeed identical. This blog post tells you how.
You have the option to change this location of one of the installs. See this solution for details.

カテゴリ

Help Center および File ExchangeStartup and Shutdown についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by