When I run guide in matlab it opens a blank all gray window. Whats going on?

橙三吉。 提交于 2019-12-02 00:21:44

问题


When I run guide in Matlab, the window that opens is completely grayed out with a title "GUIDE quick start". I am running R2012b in Ubuntu 12.04.2 LTS. Has anyone else run into this problem?

UPDATE 1

So I just discovered that if I press enter on that first blank grey window then it opens the Layout Editor window and everything seems to be fine. So I am guessing that on that first screen there is just an OK button (which I cannot see) so when I press enter it is like clicking on the OK button.

UPDATE 2

I built a quick GUI and there are issues. I can create axes and buttons and sliders on the layout tool. However, when I run the GUI tool it only displays the axes, the buttons, sliders are not there.


回答1:


I believe some things in MATLAB are not yet compatible with Java 7, so stick with Java 6 for the moment.

In any case, you can have both versions installed at the same time, just instruct MATLAB to use the correct version by setting the $MATLAB_JAVA environment variable.

You can then verify which version is being used by issuing the command:

>> version -java



回答2:


I had a similar problem in Ubuntu, got solved by skipping Unity and starting the session with "classic gnome" instead.



来源:https://stackoverflow.com/questions/16114951/when-i-run-guide-in-matlab-it-opens-a-blank-all-gray-window-whats-going-on

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!