MATLAB Answers

while debugging, one core constantly running

조회 수: 7(최근 30일)
Michael Benton
Michael Benton 2018년 5월 17일
댓글: Viacheslav Klimentyev 2018년 9월 30일
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
Richard Crozier
Richard Crozier 2018년 8월 22일
same issue Linux R2018a, 100% cpu when debugging

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

채택된 답변

Philip Borghesani
Philip Borghesani 2018년 5월 17일
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
Michael Benton
Michael Benton 2018년 5월 17일
closing all figures and using breakpoints does not solve the problem. Will contact support, likely stick to 2017B

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

추가 답변(2개)

Viacheslav Klimentyev
Viacheslav Klimentyev 2018년 6월 6일
편집: Viacheslav Klimentyev 2018년 6월 6일
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 2018년 9월 28일
Same problem on win10+ matlab 2018a. Upgraded yesterday from 2016. Breakpoint at first statement in script. workload to 50%.
  댓글 수: 1
Viacheslav Klimentyev
Viacheslav Klimentyev 2018년 9월 30일
The bug was fixed in 2018b. I tested on my Linux PC.

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

제품


릴리스

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by