Filter löschen
Filter löschen

How can i save my matlab shortcuts?

8 Ansichten (letzte 30 Tage)
Azzi Abdelmalek
Azzi Abdelmalek am 22 Jul. 2012
how can i save my Matlab shortcuts for use with another Matlab.
  4 Kommentare
Jan
Jan am 22 Jul. 2012
Should this mean something like: "Please do not suggest me to use copy&paste, because this does not satisfy my needs for the following reasons: XYZ"?
Azzi Abdelmalek
Azzi Abdelmalek am 22 Jul. 2012
Exactly M Simon. just to avoid wasting your time

Melden Sie sich an, um zu kommentieren.

Akzeptierte Antwort

Image Analyst
Image Analyst am 22 Jul. 2012
Bearbeitet: Image Analyst am 16 Sep. 2012
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.
  7 Kommentare
Image Analyst
Image Analyst am 23 Jul. 2012
I have done it between versions and it works. I copied R2012a shortcuts from my work computer to my R2011b version on my home computer.
Star Strider
Star Strider am 23 Jul. 2012
Great! Thank you!

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (1)

Daniel Shub
Daniel Shub am 23 Jul. 2012
All my shortcuts are 1 (sometimes 2) lines which point at script m files. These m files reside in a single directory which is on my MATLAB path. I can then play around with copying the shortcut information from prefdir, or just recreate them as I go.

Kategorien

Mehr zu Introduction to Installation and Licensing finden Sie in Help Center und File Exchange

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by