File missing after updating license

Previously, my files were saved in AppData/Temp/Temp1_Solution to Assignment.zip which I didn't aware of as I did not see which place the files were saved when saving a file. The reason being is everytime I opened matlab the files which I saved will be there in the editor tab. However, today when I opened matlab a pop up asked me to update the license and required me to restart matlab afterwards. However, my files which previous saved in AppData were gone and the errors says my file does not exist. Any clue as how can I retrieve the files?

Answers (1)

Star Strider
Star Strider on 25 Apr 2020
That information is likely in your preferences file. It should still exist, so you will need to find it and copy it to your current MATLAB installation.
Explore the solutions in this search to see which best works for you.

7 Comments

By preference files you mean the default save directory of matlab?
Just FYI I didn't reinstall matlab I just click on "update" in the pop up and close matlab and reopen. The entire process did not even take 1 minute.
So ... problem solved?
To find the preferences file location, type:
prefdir
in your Command Window.
Yea can't seemed to find my files there. Thanks anyway.
Use the Contact Us telephone handset icon in the upper right corner of this page to request Technical Support.
Include the URL to this thread to show what you have already tried.
Alright will do thx!
My pleasure!
I only had to do something like that once (importing a previous preferences file to a new MATLAB installation) and it worked without problems. (I could not make a backup of it, since not all the files were able to be copied, or I would have used that instead. I manually had to copy-paste the old directory to the new installation.)
Also, please post the complete MathWorks solution back here as a Comment so that others can refer to it.
.

Sign in to comment.

Categories

Asked:

on 25 Apr 2020

Commented:

on 26 Apr 2020

Community Treasure Hunt

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

Start Hunting!