问题:GUIDE gui 缺少它们常用的功能(下拉菜单、按钮等)。它们只是显示为带有边框的空窗口,这些边框描绘了不同按钮的位置。该问题似乎与我正在使用的 jre 版本有关。我不知道该怎么做。
这是 matlab 使用的环境变量。/usr/java/default 指向 jre_1.7.0_05 的根目录,包含 bin、lib 等。
------------------------------------------------------------------------
-> (.matlab7rc.sh) sourced from directory (DIR = $MATLAB/bin)
-> DIR = /opt/matlab/R2011b/bin
------------------------------------------------------------------------
a = argument e = environment r = rcfile s = script
------------------------------------------------------------------------
-> r MATLAB = /opt/matlab/R2011b
-> LM_LICENSE_FILE = (variable not defined)
-> MLM_LICENSE_FILE = (variable not defined)
-> s AUTOMOUNT_MAP =
-> e DISPLAY = :0.0
-> r ARCH = glnxa64
-> s TOOLBOX = /opt/matlab/R2011b/toolbox
-> r XAPPLRESDIR = /opt/matlab/R2011b/X11/app-defaults
-> r XKEYSYMDB = /opt/matlab/R2011b/X11/app-defaults/XKeysymDB
-> e MAX_OPEN_FILES = 1024
-> s _JVM_THREADS_TYPE =
-> e MATLAB_JAVA = /usr/java/default
-> s MATLAB_MEM_MGR =
-> s MATLAB_DEBUG =
-> s LD_LIBRARY_PATH = /opt/matlab/R2011b/sys/os/glnxa64:/opt/matlab/R2011b/bin/glnxa64:/opt/matlab/R2011b/extern/lib/glnxa64:/us
r/java/default/lib/amd64/native_threads:/usr/java/default/lib/amd64/server:/usr/java/default/lib/amd64
-> a arglist =
-> e SHELL = /bin/bash
-> e PATH = /usr/lib64/qt-3.3/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/usr/local/bin:/usr/local/bin