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 CenterFile Exchange에서 Startup and Shutdown에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by