Also, I find that the functionality allowing you to attach a personalized icon to a Quick Access Toolbar button is not present in R2025a. Is it gone for good?
Migrate preferences to R2025a
207 views (last 30 days)
Show older comments
I am in the process of upgrading from R2024b R2025a. For the past several Matlab releases, I have found that copying over the .xml files below from my prefdir would successfully transfer over my keyboard shortcut, layout, and favorite command preferences to the upgraded installation. This is not working now that I have upgraded to R2025a. Inserting these files has no effect. Is it because there has been a massive overhaul in how preference settings are implemented? Do I have any hope for an automatic procedure?

Accepted Answer
Benjamin Kraus
on 30 May 2025
Edited: Benjamin Kraus
on 30 May 2025
When you start MATLAB, it first looks for a preferences directory that corresponds to your current release (in this case R2025a). If it cannot find a preferences directory for the current release, it will automatically look for an old MATLAB preferences directory and automatically import your settings and history from that old preferences directory. Your best bet, when upgrading MATLAB, is to not manually copy any files into the preference directory. Your best bet is to let MATLAB handle that for you.
Upgrading from R2024b to R2025a should be able to convert your R2024b preferences into the new R2025a format and that should happen automatically. This process should work when upgrading from R2024b to R2025a, but the format in which preferences are stored has changed, so you could be encountering an edge case.
I'm curious if you used the beta of the new desktop? I know some of the settings import/conversion process wasn't working perfectly in early beta releases, so I wonder if the issue you are encountering is because it is finding incomplete preference information from the R2024b beta. For example, MATLAB R2025a starts, it doesn't see an R2025a preference folder, so it looks for R2024b. In the R2024b preference directory it finds two sets of preferences: (1) the old desktop preferences and (2) the preferences from the beta that were not imported correctly. Because it sees preferences in the new format, it is using those instead of the preferences from the old desktop. This is just a theory.
Here is an experiment you can try:
- Rename your R2024b and R2025a preferences directories to something different (effectively: give them a name so that MATLAB doesn't find them, but don't delete them so you maintain a backup).
- Create a new empty preference directory with the name R2024b (not R2025a).
- Copy XML files that have your preferences from your backed up R2024b preference directory into the new and empty R2024b preferences directory (instead of the R2025a directory).
- Now start MATLAB R2025a.
In theory, this should detect that you don't have an R2025a preferences directory, look for an R2024b preferences directory, and find just the XML files, which it should then import into the new R2025a format.
I haven't tried this myself, so let me know if it works. However, another user had success doing something similar over on this thread, so I have hopes that it will work: https://www.mathworks.com/matlabcentral/answers/2177285
6 Comments
Benjamin Kraus
on 2 Jun 2025
@Matt J: I spoke to a colleague who is more familiar with the desktop layout settings and he told me that because of the dramatic differences between the old desktop and the new desktop (specifically: There are layout configurations supported by the old desktop that are not supported by the new desktop, and vice versa), MATLAB won't port the layout settings from the old desktop to the new desktop.
This doc page has updated instructions regarding configuring the desktop layout: https://www.mathworks.com/help/matlab/matlab_env/change-the-desktop-layout.html The page includes information about the Quick Access Toolbar at the bottom.
I'm not familiar with the status of the Quick Access Toolbar icons or keyboard shortcuts, but I can ask around about both those things.
Andres
on 11 Jul 2025
@Matt J As a workaround, if you follow the instructions on https://www.mathworks.com/help/releases/R2025a/matlab/matlab_prog/add-items-to-quick-access-toolbar.html you can add a path to your personalized icon png file. Use / (slash) as file separator.

More Answers (0)
See Also
Categories
Find more on Desktop 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!