There was an unexpected exception

3 views (last 30 days)
ALBORZ NAJAFI
ALBORZ NAJAFI on 20 Jul 2021
Commented: ALBORZ NAJAFI on 20 Jul 2021
Hi every body
I wrote a code in new script and wanted to save it as a M-file on my computer desktop. This is done, but I get this message when I try to reopen that file:
And The file will not be opened
Does anyone know what I should do?
  2 Comments
Rik
Rik on 20 Jul 2021
This looks like you installed Matlab in 'C:\Users\USER\Desktop\xgxgh'. Or is that simply where you were trying to save your m-file?
Did you try opening the log to see if you understand any of it?
ALBORZ NAJAFI
ALBORZ NAJAFI on 20 Jul 2021
yes i try but i don understand the log
no i installed matlab in drive E

Sign in to comment.

Answers (1)

Jan
Jan on 20 Jul 2021
The error message suggests to read the log file. So please read the log file and post a copy of the important information you find there.
It is not clear why an uninstallation process is triggered, when you try to open an M-file. How do you open the file? Did Matlab ran before? What has changed since it ran successfully?

Categories

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

Community Treasure Hunt

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

Start Hunting!