MATLAB 2021b Crashes when opening .mlapp files or trying to download 2021b Runtime Library SOLUTION...
7 次查看(过去 30 天)
显示 更早的评论
Hello, an issue I had and solved that others may find useful. It was frustrating.
- I had been using MATLAB 2020b and the 2020b Runtime Libraries.
- I downloaded MATLAB 2021b and found that I couldn’t download the MATLAB 2021b Runtime Library because MATLAB crashed during the download process.
- It even crashed during the execution of the Menu Driven Compilation when the Libraries are downloaded.
- I couldn’t open up .mlapp files because MATLAB crashed. I could execute my application but when I tried to generate existing App Designer Panels (.mlapp ) in my application MATLAB 2021b crashed.
- I then read on line, that you needed to update 2021b to “Update 1”.
- I updated 2021b to “Update 1” and STILL could not open .mlapp files or execute my App Designer Panels in my application. It was very frustrating.
- BUT just for the fun of it, not knowing it would work, I tried to download the 2021b Runtime Libraries again, after having downloaded “Update 1”.
- This time, the 2021b Runtime Libraries download and installed properly.
- Also, after all this, everything worked as expected. I could open .mlapp files and my App Designer Panels in my application worked fine.
These “crashes” gave NO indication of what the error was or generated any logs or any error messages. Even thought my code is loaded with “try catch” blocks to catch errors.
This process was very frustrating because I could not find any documentation on this issue.
2 个评论
Leon
2021-11-22
I had the same issues and had to uninstall R2021b and went back to R2021a. I'm on Mac OS Big Sur, R2021b is hands down the least stable version to me. I can barely do anything without having a crash.
Now, Mac OS Monterey is coming out, but I can not really upgrade my OS, because R2021a is not compatible with it.
回答(1 个)
Anshika Chourasia
2021-12-2
Hi Robert,
The possible workaround for this issue is the same as what you've suggested. Developemnt team is aware about the crash and it's logging related isssue, and they're working on it.
0 个评论
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!