I also had this error when using OpenGL hardware rendering on a poppy and failed to fix it directly. Let me guess: you are trying to display a plot with transparencies, so MATLAB forces OpenGL to render hardware but doesn't have axes and / or titles, labels, etc. You can work around this problem by exporting the shape to vector graphics. I use plot2svg and then open it in Illustrator, and the graphs are exactly the same as they should be, with the correct axes and labels. Hope this helps.
source share