0

我最近在更新到 ubuntu 14.04 64bit 时遇到了这个错误。我无法理解发生了什么。怀疑 PATH/LIBRARY 等错误。尝试加载我与 MCR 一起使用的程序时也会发生类似的情况。可能是什么问题呢?这些错误很常见,但同时也很难找到答案。提前致谢。

当我使用

Z = 峰值(20);>> 轮廓f(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', ...
4

1 回答 1

0

尝试使用以下命令将 MATLAB 恢复到其默认搜索路径:

>>restoredefaultpath;
>>rehash toolboxcache;

现在尝试使用轮廓。如果可行,请保存路径设置,使用:

>>savepath; 

您需要自己将自定义文件夹添加回 MATLAB 路径,因为这会将 MATLAB 恢复为其默认路径设置。

于 2014-12-06T16:22:36.850 回答