There was an unexpected exception
1 次查看(过去 30 天)
显示 更早的评论
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:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/690133/image.png)
And The file will not be opened
Does anyone know what I should do?
2 个评论
Rik
2021-7-20
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?
回答(1 个)
Jan
2021-7-20
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?
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!