MATLAB only responds when window is resized

4 次查看(过去 30 天)
I have a bizarre problem. MATLAB will only update the screen when I resize the window. It appears to respond to what I type but I can't tell what I've typed or the response from MATLAB (it literally does not show on the screen) until I resize the MATLAB window. I'm using R2012b on Mac OSX 10.8. I've uninstalled and reinstalled several times already. Any help is appreciated.
  1 个评论
Walter Roberson
Walter Roberson 2013-6-23
Apple Java patch problem. If you re-run Software Update you should be offered a newer Java.

请先登录,再进行评论。

采纳的回答

Wesley
Wesley 2013-6-23
Thanks for the tip Eli. Although I wasn't able to locate the folder you specified, your clue led me to remember that I had installed a Java update earlier in the day. And sure enough, that update was the problem. I found a solution at http://support.apple.com/kb/DL1572 and all is well now. Thanks!

更多回答(1 个)

Eli Duenisch
Eli Duenisch 2013-6-23
The MATLAB GUI is Java based. It might be case that the Java Runtime Environment which MATLAB uses doesn't work properly. In some version I had to exchange the whole JRE to get the GUI working. You can find the JRE MATLAB is using in MATLAB-INSTALLTION-DIR/sys/java/jre/.../jre (this refers to Linux installations, but it should be similar in Mac OS). Rename that folder and copy a different version of the JRE into it. You can get various versions of the JRE at the Java website. And of course you can always contact the support team at TMW in such a case.
  1 个评论
Eli Duenisch
Eli Duenisch 2013-6-28
One remark: On Mac OS MATLAB uses the JRE of the OS, on Windows and Linux machines MATLAB brings it's own. This might change because Apple plans to discontinue the internal Java engine.

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Call Java from MATLAB 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by