Slice plot causes MATLAB crash

I wanted to redo some figures that I made for a paper (doi:10.1021/la3001575) to illustrate some slices for a talk. For the original figures, I extrapolated the data and plotted them using slice(). Now I own a new laptop running Linux Mint 13 (Kernel 3.2.0-23) and MATLAB R2013a. When I rework my former procedure it works fine until I want to create the figure. It causes MATLAB to crash. The same happens when I just follow the example from the "slice" help. MATLAB crashes when attempting to draw the figure. What could be the reasons for this? Where should I look into for debugging? Some MATLAB settings, Java version, any other packages?
Thanks, Holger

 采纳的回答

This may be an OpenGL issue. To confirm, try the following:
Restart MATLAB and before you run anything run:
>> opengl software
and then run the slice example. Does that crash MATLAB?

更多回答(1 个)

Holger
Holger 2013-3-12

0 个投票

Woohoo! Works. Thanks a lot. Actually, when setting opengl back to harware I get "Warning: Switching to hardware OpenGL rendering at runtime on unix is not supported. > In opengl at 98" Seems I have to avoid hardware acceleration or are there any workarounds?

2 个评论

[Please reply in the comment section and not as a seperate answer, this will make answers and replies hard to track, thanks.]
That's the reason I asked you to run opengl software just when you launch matlab and not during. you can change it during runtime. I don't have much to offer at this point because there is a lot involved in debugging this issue which may stem from your graphics card driver, make model, linux kernel etc. I would recommend contacting Technical Support if you have SMS for further assistance. Or avoiding OpenGL altogether but reverting to software in startup.m file.
Likely this is a bug in your graphics driver. You can always try updating them, that may or may not fix the issue.

请先登录,再进行评论。

类别

帮助中心File Exchange 中查找有关 Graphics Performance 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by