while debugging, one core constantly running

4 vues (au cours des 30 derniers jours)
Michael Benton
Michael Benton le 17 Mai 2018
got a new laptop, installed 18a. If I'm debugging, one of my cpu cores is constantly railing (i.e. task manager says matlab is using ~25% cpu) and it decreases battery life.
Also, sometimes matlab freezes, when I'm not looking at it, and I have to restart
  3 commentaires
Michael Benton
Michael Benton le 12 Août 2018
win
Richard Crozier
Richard Crozier le 22 Août 2018
same issue Linux R2018a, 100% cpu when debugging

Connectez-vous pour commenter.

Réponse acceptée

Philip Borghesani
Philip Borghesani le 17 Mai 2018
It appears you have encountered this issue: Bug report 1736753 I suggest contacting support for possible workarounds and solutions. You may find that closing extra figure or MATLAB desktop windows makes the problem go away the next time you debug. Using breakpoints instead of dbstep may also help.
  1 commentaire
Michael Benton
Michael Benton le 17 Mai 2018
closing all figures and using breakpoints does not solve the problem. Will contact support, likely stick to 2017B

Connectez-vous pour commenter.

Plus de réponses (2)

Viacheslav Klimentyev
Viacheslav Klimentyev le 6 Juin 2018
Modifié(e) : Viacheslav Klimentyev le 6 Juin 2018
I've the same problem on Linux (MATLAB 2018a). The load of one core is about 80-90% at using breakpoint.

Jos Koning
Jos Koning le 28 Sep 2018
Same problem on win10+ matlab 2018a. Upgraded yesterday from 2016. Breakpoint at first statement in script. workload to 50%.
  1 commentaire
Viacheslav Klimentyev
Viacheslav Klimentyev le 30 Sep 2018
The bug was fixed in 2018b. I tested on my Linux PC.

Connectez-vous pour commenter.

Catégories

En savoir plus sur Startup and Shutdown dans Help Center et File Exchange

Produits


Version

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by