"Matlab has stopped working" 2009b on Windows 7 64-bit when running a "figure" command

I have a large amount of data that I'm running through my code. It gets to a line of code that has a "figure" command and crashes. It does work on Vista. It works on Windows 7 with a smaller chunk of data. It works on Windows 7 if I run Matlab with no Java. I tried 2009bSP1 with the same results. I tried installing the latest Java (update 25) and got the same results. I thought it might be a memory issue, so I upgraded to 24GB of RAM and got the same results. Has anyone seen a problem like this?

1 commentaire

The plot thickens. I installed 2011a on Windows 7 and everything worked fine. However, the rest of my organization is using 2009b, so I need to try to be consistent. 2009b is listed as being compatible with Windows 7, so what is the difference in these two versions that would explain this issue?

Connectez-vous pour commenter.

Réponses (1)

Does changing the renderer help?
% First set the renderer.
set(gcf,'Renderer','zbuffer')
% Then plot your stuff...

1 commentaire

I'm sorry I did not mention before, but we did try that approach, as well as:
opengl('software')
Neither of those had any effect.

Connectez-vous pour commenter.

Catégories

En savoir plus sur Graphics Performance dans Centre d'aide et File Exchange

Tags

Question posée :

le 10 Mai 2011

Community Treasure Hunt

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

Start Hunting!

Translated by