How to render opengl in Matlab 2015a on Mac

1 次查看(过去 30 天)
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 个评论
Mike Garrity
Mike Garrity 2015-4-13
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 2015-4-17
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~

请先登录,再进行评论。

采纳的回答

Tianxiao
Tianxiao 2015-4-20
编辑:Tianxiao 2015-4-20
The text object drawing slow has been reported as a bug, looking for future release.

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Graphics Performance 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by