Where does MATLAB keep preference settings? Is it possible for multiple users to have different preferences while using the same installation of MATLAB?
5 次查看(过去 30 天)
显示 更早的评论
MathWorks Support Team
2009-6-27
编辑: MathWorks Support Team
2025-10-10
Where does MATLAB keep preference settings?
Is it possible for multiple users to have different preferences while using the same installation of MATLAB?
采纳的回答
MathWorks Support Team
2025-10-10
编辑:MathWorks Support Team
2025-10-10
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 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Startup and Shutdown 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!