【问题标题】:error in loading contourf加载轮廓时出错
【发布时间】:2014-12-06 13:10:48
【问题描述】:

我最近在更新到 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', ...

【问题讨论】:

    标签: matlab contourf


    【解决方案1】:

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

    >>restoredefaultpath;
    >>rehash toolboxcache;
    

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

    >>savepath; 
    

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

    【讨论】:

    • 不幸的是没有运气。我不明白我也在默认文件夹 /usr/local/MATLAB 下进行了全新安装。我不明白。我有可能在安装过​​程中做错了吗?这很简单
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2022-01-24
    • 2018-03-18
    • 1970-01-01
    相关资源
    最近更新 更多