What is the default location of the MATLAB preferences directory?

26 views (last 30 days)

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 31 Oct 2016
Within this directory you will find the folder containing MATLAB preferences. If you are using an individual license you will also find the MATLAB license folder. Each release of MATLAB installed on your machine will have a corresponding preferences and licenses folder.
Windows:
C:\Users\<username>\AppData\Roaming\MathWorks\MATLAB
In this example, replace with your username. Windows has a shortcut to take you right to the Roaming folder, and it is:
%appdata%
Enter this shortcut in the search field located in your Start Menu (Windows 7), Start Screen (Windows 8.1) or Taskbar (Windows 10) and hit enter to jump right to the relevant Roaming folder.
Mac
~/Library/Application Support/MathWorks/MATLAB
On macOS, ~/Library/ is a hidden folder, so entering this path into the “Go To Folder…” prompt located in the “Go” menu is the fastest way to get to this folder.
If you are using R2016a or earlier, see the “Linux” section of this article instead. Prior to R2016b, MATLAB stored the preferences directory on Linux and macOS in the same place.
Linux
~/.matlab/
This also applies to macOS on R2016a and earlier.

More Answers (0)

Categories

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

Tags

No tags entered yet.

Products

Community Treasure Hunt

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

Start Hunting!