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.
  1. I had been using MATLAB 2020b and the 2020b Runtime Libraries.
  2. I downloaded MATLAB 2021b and found that I couldn’t download the MATLAB 2021b Runtime Library because MATLAB crashed during the download process.
  3. It even crashed during the execution of the Menu Driven Compilation when the Libraries are downloaded.
  4. 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.
  5. I then read on line, that you needed to update 2021b to “Update 1”.
  6. 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.
  7. 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”.
  8. This time, the 2021b Runtime Libraries download and installed properly.
  9. 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
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.
Robert Garneau
Robert Garneau 2021년 11월 22일
Sorry to hear that.
After downloading "Update 1" and then downloading the R2021b Runtime Libraries, (in that order). MATLAB 2021b hasn't crashed on me at all for the last three days. I've been doing a lot of testing of my application so this is a good sign. Hopefully it will last. So far so good.
Goot luck with your application. I wish you well.
Bob

댓글을 달려면 로그인하십시오.

답변 (1개)

Anshika Chourasia
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.

카테고리

Help CenterFile Exchange에서 Downloads에 대해 자세히 알아보기

제품


릴리스

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by