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

4 visualizzazioni (ultimi 30 giorni)
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?

Risposte (2)

Daniel Shub
Daniel Shub il 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 Commenti
George
George il 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 il 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.

Accedi per commentare.


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

Categorie

Scopri di più su Startup and Shutdown in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by