Exporting OpenGL figure on OS X causes hard crash.

1 view (last 30 days)
I have been having issues with Matlab crashing on my Mac for years (same code runs fine on Windows), and I have finally narrowed down the cause.
I am trying to save a batch of figures, rendered using vol3d from the file exchange, that are using OpenGL rendering. I have noticed that Matlab uses OpenGL Hardware to display the figure on screen, but both print and saveas use OpenGL Software to export. There is no support for OpenGL Software in Matlab on OS X, so I get a hard crash with the error "Matlab has encountered an error and has to close".
Is there a way to export an image using the hardware renderer? Or do I have another option to export these figures on OS X?
I'm using version R2012b but I had this issue with earlier versions too and have found nothing to suggest it's been fixed in a later release. Please correct me if I'm mistaken!
Thanks Andy

Answers (0)

Categories

Find more on Graphics Performance in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!