Why does MATLAB 7.6 (R2008a) use 100% of the CPU even after exiting when Perforce SCM Source Control is used?

1 view (last 30 days)
If I choose Perforce SCM in the MATLAB source control preferences, restart MATLAB and run Simulink, I notice the CPU usage of the MATLAB.exe process reaches 100% (50% on a dual core CPU). The MATLAB.exe process and CPU usage still persists at 100% even after I exit MATLAB.

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 27 May 2010
This issue is due to an incompatibility with the Perforce software due to conflicts between the qt.dll library used by Perforce and the version used by Simulink. Simulink uses one version of Qt in Simulink, Perforce uses a different one, and trying to run both those different versions of Qt in the same process gives problems.
To recover from the problem, you must exit MATLAB using the Windows Task Manager tool. Then after a restart of MATLAB unselect Perforce SCM in the MATLAB source control preferences.
The only workaround is that Simulink users who also use Perforce should not use our Source Control interface to link the two.

More Answers (0)

Products


Release

R2010a

Community Treasure Hunt

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

Start Hunting!