command history with updates

5 views (last 30 days)
Roy Torbert
Roy Torbert on 18 Dec 2019
Answered: Roy Torbert on 20 Dec 2019
How do I import my command history from a previous release, once I have installed a new one ?
  4 Comments
Roy Torbert
Roy Torbert on 20 Dec 2019
Is there an answer to my question ?
Fangjun Jiang
Fangjun Jiang on 20 Dec 2019
I suggested below. Did you try?

Sign in to comment.

Answers (2)

Fangjun Jiang
Fangjun Jiang on 18 Dec 2019
The command history is saved as history.xml for different versions. See if you can simply copy over the file.
C:\Users\XYZ\AppData\Roaming\MathWorks\MATLAB\R2019b\History.xml
C:\Users\XYZ\AppData\Roaming\MathWorks\MATLAB\R2018b\History.xml
  2 Comments
Roy Torbert
Roy Torbert on 20 Dec 2019
This applies to windows machines, and i am Mac. However, I found out how to do it and am now fine.
Fangjun Jiang
Fangjun Jiang on 20 Dec 2019
How did you do it? Please provide an answer. It might help others.

Sign in to comment.


Roy Torbert
Roy Torbert on 20 Dec 2019
On a Mac, I went to /Users/XYZ/Library/Pallication Support/Mathworks/Matlab/R2017a ( old version)
and copied the history.xml file to the same sort of directory but ending with R2019b ( new version).
Thanks

Categories

Find more on Introduction to Installation and Licensing in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!