Is there a way to transfer MATLAB shorcuts to another computer?

6 visualizaciones (últimos 30 días)
I want to transfer MATLAB shortcuts that I created on one machine to another. Therefore, I need to know where these files are located on my machine.

Respuesta aceptada

MathWorks Support Team
MathWorks Support Team el 21 de Jul. de 2022
Editada: MathWorks Support Team el 28 de Sept. de 2022
Take the following steps to transfer MATLAB shortcuts to another computer.
1. Rename the following XML-file:
  • For MATLAB before R2021b: $PREFDIR\shortcuts.xml
  • For MATLAB R2021b: $PREFDIR\shortcuts_2.xml
  • For MATLAB in or after R2022a: $PREFDIR\FavoriteCommands.xml
where $PREFDIR is the MATLAB directory containing preferences files, as returned by typing the following at the MATLAB Command Prompt:
>> prefdir
Rename the file to "shortcuts.xml.old" ("shortcuts_2.xml.old" or "FavoriteCommands.xml.old").
2. Transfer the desired XML file to a different machine. Place the new file in the same directory mentioned in step 1.
3. Restart MATLAB.
4. After restarting MATLAB, issue the following command at the MATLAB Command Prompt:
>> rehash toolboxcache

Más respuestas (0)

Categorías

Más información sobre Manage Products en Help Center y File Exchange.

Etiquetas

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by