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

4 views (last 30 days)
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?

Answers (2)

Daniel Shub
Daniel Shub on 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 Comments
George
George on 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 on 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.

Sign in to comment.


Ken Atwell
Ken Atwell on 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.

Categories

Find more on Startup and Shutdown in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!