How to solve the following error message?

2 views (last 30 days)
Sixuan Li
Sixuan Li on 10 Nov 2021
Commented: Sixuan Li on 11 Nov 2021
This happens every time I start up MATLAB, even after I have my computer restarted. Now it's get to be very hard to run MATLAB, quite slow and easily crash.
The quite long error message is contained in the attachment.
  3 Comments
Sixuan Li
Sixuan Li on 10 Nov 2021
thanks for reply. It’s MacOS Big Sur ver 11.5.2
Sixuan Li
Sixuan Li on 11 Nov 2021
Update 11/11/2021:
I reloaded MATLAB. And with some attempts, it turns out that,
  • After I run the same livescript that caused the problem, that error occurred again. And then this livescript can't be run anymore. It means that, once I start to run it, the window of this specific script would be stuck while the other part of MATLAB still works. However, the same code copied to a new file could still be successfully run at first until it crashed again.
  • Unmatched size when calling 'reshape' function is the bug that resulted in the wrong output of code. But the error didn't stop the running procedure at site since the 'try ... catch" in code nested the mistake. By correcting that in a new file copied from the annoying script, the code could be run finally. But it still bothers me what happend on earth.

Sign in to comment.

Answers (0)

Categories

Find more on Startup and Shutdown in Help Center and File Exchange

Tags

Products


Release

R2021a

Community Treasure Hunt

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

Start Hunting!