Migrate R2025a preferences to a new computer that is running R2025b

30 views (last 30 days)
I am installing R2025b Matlab on a new computer. The new computer has no prior Matlab installations from which previous preference settings can be auto-imported. However, I have saved the prefdir from R2025a installations on past computers.
Question: Is there a way to get R2025b on the new computer to import my R2025a preferences using only the R2025a prefdir? I know one possible set of steps would be to,
(1) Install R2025a on the new computer.
(2) Drop the saved prefdir files into the fresh R2025a installation in (1).
(3) Delete the R2025b prefdir and restart R2025b.
However, I am wondering if there is a way that avoids the installation of R2025a in step (1). I don't really plan to use R2025a on this computer, and it seems cumbersome to install it solely for the purpose of migrating prefdir settings.
I also know that there are past threads on the topic of prefdir migration. However, these predate the massive desktop change that occurred in R2025, and I am uncertain whether they would apply to the newest Matlab versions.
  4 Comments
dpb
dpb 13 minutes ago
I haven't taken the plunge to move to R2025 yet, so this is just a guess...did you try moving over all the prefdir content regardless of trying to figure out what might be what?
dpb
dpb 11 minutes ago
Here's an AI Answer for what it's worth...
Custom keyboard shortcuts in MATLAB R2025 are stored as a JSON file that you can save and load through the Keyboard Shortcuts Settings page. To access the settings, go to the Home tab, click Settings in the Environment section, and then navigate to MATLAB > Keyboard > Shortcuts. From there, you can create, customize, and save your shortcuts to a JSON file.
Steps to manage custom keyboard shortcuts
  1. Open the Settings
  • Click the Settings icon on the Home tab under the Environment section.
  1. Navigate to Keyboard Shortcuts
  • In the Settings window, select MATLAB > Keyboard > Shortcuts.
  1. Customize shortcuts
  • Here you can view, add, edit, or remove existing shortcuts.
  1. Save your shortcuts
  • To save your current set of shortcuts, click the settings button (the gear icon) on the Keyboard Shortcuts Settings page and select Save As.
  • Choose a location and name for the JSON file to store your custom shortcuts.
  • Load a saved set of shortcuts
  • To use a previously saved set, click the settings button on the Keyboard Shortcuts Settings page and select Load.
  • Browse for and select the JSON file you want to load.

Sign in to comment.

Answers (0)

Categories

Find more on Desktop in Help Center and File Exchange

Products


Release

R2025b

Community Treasure Hunt

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

Start Hunting!