当我在matlab中运行guide时,它会打开一个空白的全灰色窗口.这是怎么回事? [英] When I run guide in matlab it opens a blank all gray window. Whats going on?

查看:906
本文介绍了当我在matlab中运行guide时,它会打开一个空白的全灰色窗口.这是怎么回事?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我在Matlab中运行指南时,打开的窗口完全变灰,标题为"GUIDE快速入门".我在Ubuntu 12.04.2 LTS中运行R2012b.还有其他人遇到这个问题吗?

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?

更新1

因此,我刚刚发现,如果在第一个空白灰色窗口上按Enter键,那么它将打开布局编辑器"窗口,一切似乎都很好.因此,我想在第一个屏幕上只有一个确定"按钮(我看不到),所以当我按Enter时,就像单击确定"按钮一样.

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.

更新2

我建立了一个快速的GUI,但出现了问题.我可以在布局工具上创建轴以及按钮和滑块.但是,当我运行GUI工具时,它仅显示轴,按钮,滑块不存在.

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.

推荐答案

我相信MATLAB中的某些功能尚未与Java 7兼容,因此暂时坚持使用Java 6.

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

无论如何,您可以同时安装两个版本,只需通过设置$MATLAB_JAVA环境变量来指示MATLAB使用正确的版本.

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

这篇关于当我在matlab中运行guide时,它会打开一个空白的全灰色窗口.这是怎么回事?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆