2014-12-06 85 views
0

升级到Ubuntu 14.04 64位,当我最近遇到了这个错误。我不明白发生了什么事。怀疑PATH/LIBRARY等错误。尝试加载我用于MCR的程序时会发生类似的情况。可能是什么问题呢?这些错误很常见,但同时它们都很难找到答案。提前致谢。错误装载contourf

当我使用

Z =峰(20); >> contourf(Z,10)

我得到这些:

No appropriate method, property, or field initialized for class specgraph.contourgroup. 

Error in specgraph.contourgroup/schema>LdoUpdateColorAction (line 209) if h.initialized 

Warning: Error occurred while evaluating listener callback. > In specgraph.contourgroup.contourgroup at 19 In contourf at 79 No appropriate method, property, or field initialized for class specgraph.contourgroup. 

Error in specgraph.contourgroup/schema>LdoUpdateColorAction (line 209) if h.initialized 

Warning: Error occurred while evaluating listener callback. > In specgraph.contourgroup.contourgroup at 19 In contourf at 79 No appropriate method, property, or field initialized for class specgraph.contourgroup. 

Error in specgraph.contourgroup/schema>LdoMarkDirtyAction (line 244) if h.initialized 

Warning: Error occurred while evaluating listener callback. > In specgraph.contourgroup.contourgroup at 19 In contourf at 79 No appropriate method, property, or field initialized for class specgraph.contourgroup. 

Error in specgraph.contourgroup/schema>LdoModeSwitchAction (line 195) if strcmp(get(h,modeprop),'auto') && h.initialized 

Warning: Error occurred while evaluating listener callback. > In specgraph.contourgroup.contourgroup at 19 In contourf at 79 No appropriate method, property, or field initialized for class specgraph.contourgroup. 

Error in specgraph.contourgroup/schema>LdoModeSwitchAction (line 195) if strcmp(get(h,modeprop),'auto') && h.initialized 

Warning: Error occurred while evaluating listener callback. > In specgraph.contourgroup.contourgroup at 19 In contourf at 79 No appropriate method, property, or field initialized for class specgraph.contourgroup. 

Error in specgraph.contourgroup/schema>LdoUpdateColorAction (line 209) if h.initialized 

Warning: Error occurred while evaluating listener callback. > In specgraph.contourgroup.contourgroup at 19 In contourf at 79 No appropriate method, property, or field initialized for class specgraph.contourgroup. 

Error in specgraph.contourgroup/schema>LdoUpdateChildrenAction (line 201) if h.initialized 

Warning: Error occurred while evaluating listener callback. > In specgraph.contourgroup.contourgroup at 19 In contourf at 79 No appropriate method, property, or field initialized for class specgraph.contourgroup. 

Error in specgraph.contourgroup/schema>LdoModeSwitchAction (line 195) if strcmp(get(h,modeprop),'auto') && h.initialized 

Warning: Error occurred while evaluating listener callback. > In specgraph.contourgroup.contourgroup at 19 In contourf at 79 No appropriate method, property, or field initialized for class specgraph.contourgroup. 

Error in specgraph.contourgroup/schema>LdoModeSwitchAction (line 195) if strcmp(get(h,modeprop),'auto') && h.initialized 

Warning: Error occurred while evaluating listener callback. > In specgraph.contourgroup.contourgroup at 19 In contourf at 79 No appropriate method, property, or field initialized for class specgraph.contourgroup. 

Error in specgraph.contourgroup/schema>LdoModeSwitchAction (line 195) if strcmp(get(h,modeprop),'auto') && h.initialized 

Warning: Error occurred while evaluating listener callback. > In specgraph.contourgroup.contourgroup at 19 In contourf at 79 No appropriate method, property, or field initialized for class specgraph.contourgroup. 

Error in specgraph.contourgroup/schema>LdoModeSwitchAction (line 195) if strcmp(get(h,modeprop),'auto') && h.initialized 

Warning: Error occurred while evaluating listener callback. > In specgraph.contourgroup.contourgroup at 19 In contourf at 79 No public field initialized exists for class specgraph.contourgroup. 

Error in specgraph.contourgroup (line 20) h.initialized = 1; 

Error in contourf (line 79) h = specgraph.contourgroup('Parent', parax, 'Fill', 'on', ... 

回答

0

尝试通过使用MATLAB恢复为默认的搜索路径:

>>restoredefaultpath; 
>>rehash toolboxcache; 

现在用contourf尝试。如果一切正常,保存路径设置,使用:

>>savepath; 

您将需要重新添加您的自定义文件夹添加到MATLAB路径自己,因为这将恢复MATLAB到它的默认路径设置。

+0

没有运气很遗憾。我不明白我做了一个干净的安装以及默认文件夹/ usr/local/MATLAB下。我不明白。是否有可能在安装中做错了什么?这很简单 – Caglar 2014-12-07 09:25:28