Matlab works slower and slower and eventually crashes Windows 7. Solution?

I am going through a big project (debug mode) with many functions, subfunctions, variables etc. I am just trying to understand the whole thing as it is rather complex. At first, Matlab runs pretty smoothly but it get progressively slower and ultimately Windows crashes (blue screen of death). Has anybody had this problem before and are there any solutions to it? I'm using Windows 7 Prof and Matlab r2014b btw.
I'm kind of a beginner, so please tell me if I have omitted some information regarding my problem.
Thanks, Victor

1 Comment

Sounds like dodgy code with potential memory leaks, segmentation failures or some other equally catastrophic behaviour. Did you keep an eye on memory usage while you stepped through?

Sign in to comment.

Answers (2)

Properties > Compatibility
select (Disable visual themes}, then Run As Administrator
Thank you guys for the answers.
I solved the problem - it seems that I was debugging this project from of a network drive. Since I copied it on my local drive, I've had no problem whatsoever.

Asked:

on 8 Dec 2014

Answered:

on 8 Mar 2015

Community Treasure Hunt

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

Start Hunting!