2014-12-06 79 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