How to solve the following error message?

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 commentaires

Yongjian Feng
Yongjian Feng le 10 Nov 2021
What is the env? Which OS are you using please? What version of OS?
Sixuan Li
Sixuan Li le 10 Nov 2021
thanks for reply. It’s MacOS Big Sur ver 11.5.2
Sixuan Li
Sixuan Li le 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.

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Startup and Shutdown dans Centre d'aide et File Exchange

Produits

Version

R2021a

Tags

Question posée :

le 10 Nov 2021

Commenté :

le 11 Nov 2021

Community Treasure Hunt

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

Start Hunting!

Translated by