How to render opengl in Matlab 2015a on Mac

1 view (last 30 days)
Hi,I upgraded Matlab from 2014a to 2015a in my MAC and I found that my customized GUI software run much slower in 2015a compared to 2014a. I tried opengl software/hardware, none of them work. The opengl info is as follows: >> opengl info Version: '2.1 INTEL-10.2.46' Vendor: 'Intel Inc.' Renderer: 'Intel Iris OpenGL Engine' MaxTextureSize: 16384 Visual: 'Visual (Undefined), (RGBA 32 bits (8 8 8 8), Z depth 16 bi...' Software: 'false' SupportsGraphicsSmoothing: 1 SupportsDepthPeelTransparency: 1 SupportsAlignVertexCenters: 1 Extensions: {128x1 cell} MaxFrameBufferSize: 16384
And error informations:
>> opengl hardware Error using opengl Switching to hardware OpenGL rendering is not supported on the MAC platform
>> opengl software Error using opengl Switching to software OpenGL rendering is not supported on the MAC platform
My license is Academic License, could this be an issue ?
  5 Comments
Mike Garrity
Mike Garrity on 13 Apr 2015
Actually, as much as I would love to figure out what's going on here, it'd probably be smarter for you to contact support at this point. They'll get all of the details from you and track it better than we can do here in this forum.
You can report it to them here:
Tianxiao
Tianxiao on 17 Apr 2015
Here is the fraction of my example code: h=text(0.97,p,num2str(1/gain(i),'%0.3g'),'Parent',axe,'HorizontalAlignment','left','VerticalAlignment','middle','FontWeight','bold','units','normalized','DisplayName',['YGauge' num2str(count)],'Color',[1 0 1]);
Some variables are from my previous calculations. I also tested the text with and without interpreter (tex/none), there is currently no big differences. I posted my question to the tech support as you suggested and I am waiting for their answer. Thank you~

Sign in to comment.

Accepted Answer

Tianxiao
Tianxiao on 20 Apr 2015
Edited: Tianxiao on 20 Apr 2015
The text object drawing slow has been reported as a bug, looking for future release.

More 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!