필터 지우기
필터 지우기

Code performance tremendously slower than before

조회 수: 1 (최근 30일)
Jeff Dugger
Jeff Dugger 2016년 4월 21일
답변: Shubham Maurya 2016년 4월 23일
Performance of unchanged code has slowed down tremendously from few seconds to several minutes. Nothing in the code has changed, so profiling to improve performance will not solve the problem. Task manager shows CPU usage capped at 25%. The 32-bit version runs faster than the 64-bit version of Matlab.
The change occurred after IT tried to fix a conflict between the 64-bit version and security SW that prevents Matlab from running. Are there settings within Windows or the registry that will cause this problem?
  댓글 수: 1
Philip Borghesani
Philip Borghesani 2016년 4월 21일
You are going to have to give us more to go on here. What conflict with what security software? What version of MATLAB? What OS?
25% CPU usage on a 4 or more core/thread machine might be normal.
Profiling will still show what line of code slowed down or is taking a long time which may help to identify the cause of the problem.

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

답변 (1개)

Shubham Maurya
Shubham Maurya 2016년 4월 23일
Sometimes, removing the orange color warning in the script file makes execution faster. Try this if you have not.

카테고리

Help CenterFile Exchange에서 Ordinary Differential Equations에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by