MATLAB: How can i save the matlab shortcuts

MATLABshortcut save

how can i save my Matlab shortcuts for use with another Matlab.

Best Answer

R2012a and earlier instructions: Type prefdir on the command line. Go to the folder it gives. Then copy the file shortcuts.xml from the prefsdir of the source computer to the prefsdir folder of the target computer.
[EDIT - UPDATE FOR COPYING EARLIER SHORTCUTS TO VERSION R2012b]
Apparently the new shortcuts XML file MUST be called shortcuts_2.xml.
  1. Type prefsdir on the command line, then in Windows Explorer (or similar for your other operating system), go to that folder.
  2. Copy your shortcuts.xml file from your old MATLAB version "prefsdir" folder to the new "prefsdir" folder.
  3. Rename the existing, new shortcuts_2.xml to shortcuts_2_original.xml.
  4. Rename your shortcuts.xml shortcuts_2.xml.
  5. Restart MATLAB R2012b and all your old short cuts will be there.