"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 Comment

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?

Sign in to comment.

Answers (1)

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

1 Comment

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.

Sign in to comment.

Categories

Find more on Graphics Performance in Help Center and File Exchange

Tags

Asked:

on 10 May 2011

Community Treasure Hunt

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

Start Hunting!