How can i save my matlab shortcuts?
조회 수: 8 (최근 30일)
이전 댓글 표시
how can i save my Matlab shortcuts for use with another Matlab.
댓글 수: 4
Jan
2012년 7월 22일
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"?
채택된 답변
Image Analyst
2012년 7월 22일
편집: Image Analyst
2012년 9월 16일
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.
- Type prefsdir on the command line, then in Windows Explorer (or similar for your other operating system), go to that folder.
- Copy your shortcuts.xml file from your old MATLAB version "prefsdir" folder to the new "prefsdir" folder.
- Rename the existing, new shortcuts_2.xml to shortcuts_2_original.xml.
- Rename your shortcuts.xml shortcuts_2.xml.
- Restart MATLAB R2012b and all your old short cuts will be there.
댓글 수: 7
Image Analyst
2012년 7월 23일
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.
추가 답변 (1개)
Daniel Shub
2012년 7월 23일
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.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Introduction to Installation and Licensing에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!