Matlab on M1 gets really slow on entering debugging mode

3 views (last 30 days)
I'm running Matlab 2021a on a MacbookAir with a M1 chip. A bug-free code runs at a decent speed and without problems but as soon as I get an error, Matlab gets really slow. I usually get a notification sound for a bug first but have to wait another 10sec or so until the actual error message appears. In this time I can't interact with any other part of the interface. Interacting with the code after that is also not possible and sometimes takes a minute or more until it is. This seems to be worse if a plot is involved.
Does anyone else have this issue?
I checked CPU and RAM usage and both are never at high levels during this time.

Accepted Answer

Ananya Tewari
Ananya Tewari on 22 Sep 2021
With the new MacOS 11.4, we have discovered an issue with slow start times and sluggish interaction when launching MATLAB from the Dock or Finder. As a workaround for this issue, you may start MATLAB through the terminal.
Please refer to this answer for more details and updates.

More Answers (0)


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




Community Treasure Hunt

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

Start Hunting!