Where does MATLAB keep preference settings? Is it possible for multiple users to have different preferences while using the same installation of MATLAB?
5 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
MathWorks Support Team
le 27 Juin 2009
Modifié(e) : MathWorks Support Team
le 10 Oct 2025
Where does MATLAB keep preference settings?
Is it possible for multiple users to have different preferences while using the same installation of MATLAB?
Réponse acceptée
MathWorks Support Team
le 10 Oct 2025
Modifié(e) : MathWorks Support Team
le 10 Oct 2025
Multiple users can share a single installation of MATLAB but still keep individual preferences. This does not require any extra configuration.
Under Windows, MATLAB checks the %UserProfile% environment variable or the Windows Registry and creates several files under the current user's profile. Once created, these files are used to store the user's preferences.
The process is similar in a Unix, Linux, or Mac environment. MATLAB checks the current users $HOME environment variable for the user's home directory and stores preferences in a /home/<username>/.matlab directory.
In order to find the current location of a user's preferences files, the "prefdir" function can be used from within MATLAB.
See also:
0 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Startup and Shutdown dans Help Center et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!