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

4 Ansichten (letzte 30 Tage)
George
George am 12 Nov. 2011
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?

Antworten (2)

Daniel Shub
Daniel Shub am 13 Nov. 2011
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 Kommentare
George
George am 14 Nov. 2011
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 am 14 Nov. 2011
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.

Melden Sie sich an, um zu kommentieren.


Ken Atwell
Ken Atwell am 13 Nov. 2011
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.

Kategorien

Mehr zu Startup and Shutdown finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by