Transfer shortcuts(​favouritec​ommand) from 2017b to 2022b

How can I transfer shortcuts(favouritecommands) from 2017b to 2022b, copy and paste shortcuts_2.xml into prefdir doesn't work. Rename shortcuts_2.xml to FavoriteCommands.xml either.

Réponses (1)

Matt J
Matt J le 8 Juin 2026
Look for the set of .xml files in your prefdir that are NOT highlighted in yellow in the list below. These should be copied over to your new prefdir.

4 commentaires

Just pasted exist files below, it doesn't work. Files outside the list below does not exist。
MATLABDesktop.xml
MATLABQuickAccess.xml
shortcuts_2.xml
shortcuts_ja_2.xml
matlab.prf
And you restarted Matlab after the transfers were made?
kei hin
kei hin le 10 Juin 2026
Modifié(e) : kei hin le 10 Juin 2026
Yes, I restarted Matlab. Doesn't work. By the way, in 2017b FavoriteCommands.xml doesn't exist. it is in shortcuts_ja_2.xml . in 2022b it is FavoriteCommands.xml , but different format.In 2017b, shortcuts were placed on a dedicated page in the menu tab, but in 2022b, there is only a toolbar, which cannot accommodate all the shortcuts completely.
The only thing I can think of is to add a shortcut in R2022b, then use Find Files to see which prefdir files are affected by the change.

Connectez-vous pour commenter.

Catégories

En savoir plus sur Audio Processing Algorithm Design dans Centre d'aide et File Exchange

Produits

Version

R2022b

Question posée :

le 5 Juin 2026

Commenté :

le 10 Juin 2026

Community Treasure Hunt

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

Start Hunting!

Translated by