I'm using MATLAB GUI code that handles ten files, uses the image acquisition tool extensively, and also the data acquisition tool, and GPU programming.
It usually works well, but from time to time (more often lately) MATLAB completely crashes, and I need to restart it.
The system uses Win7-64 (ultimate) SP1, and has a Xeon CP E5-1650 @3.2 GhZ with 64GB RAM, and a Tesla C2075 GPU. The matlab version is 2012a, and it also uses the latest GPU Acceleration on MATLAB with Jacket.
When Matlab crashes Win7 offers to "debug", and the visual studio Just-In-Time debugger informs that "An unhandled win32 exception occured in the Matlab.exe "
After this happen just restarting Matlab doesn't work (the symbol is showing, but then it vanishes and nothing happen), and I need to reboot.
Why is that, and how could I detect it? I could only think of a memory leak, or defective memory.
UPDATE: Matlab also started to crash on me for simple guis that worked before. Now matlab won't load at all, I get the logo screen for a split second and then nothing happens. Win 7 Check memory and chkdsk didn't help. I installed an updated Java versiom, that didn't help either... Next, I'll try reinstalling Matlab :(
I tracked the problem to be, believe it or not, the camera software that was written as an adapter for Matlab (in Java). I learned from the company (Allied vision) that the java code they were using was conflicting with Matlab on the OS level, and since then they had released a new version of software that is stable (called Vimba). The camera (Prosilica GX) is working with Matlab but only with about half the frame rate it should (~60 fps instead of 112 fps). Both TMW and Allied vision know about this and I have yet to get a solution from them (over almost a year now).