如何修复MATLAB警告&启动时出错?

时间:2017-06-20 15:13:29

标签: matlab error-handling

我已经安装了MATLAB R2015a。当我启动它时,命令窗口中显示的警告很少:

Warning: Function circshift has the same name as a MATLAB builtin. We suggest you rename the function to avoid a potential name conflict.
Warning: Function circshift has the same name as a MATLAB builtin. We suggest you rename the function to avoid a potential name conflict.
> In path (line 109)
  In addpath (line 86)
  In startup (line 6)
  In matlabrc (line 225) 
Warning: Function circshift has the same name as a MATLAB builtin. We suggest you rename the function to avoid a potential name conflict.
> In path (line 109)
  In addpath (line 86)
  In startup (line 7)
  In matlabrc (line 225) 
Warning: Function circshift has the same name as a MATLAB builtin. We suggest you rename the function to avoid a potential name conflict.
> In path (line 109)
  In addpath (line 86)
  In startup (line 8)
  In matlabrc (line 225) 
Warning: Function circshift has the same name as a MATLAB builtin. We suggest you rename the function to avoid a potential name conflict.
> In path (line 109)
  In addpath (line 86)
  In startup (line 9)
  In matlabrc (line 225) 
Warning: Function circshift has the same name as a MATLAB builtin. We suggest you rename the function to avoid a potential name conflict.
> In path (line 109)
  In addpath (line 86)
  In startup (line 10)
  In matlabrc (line 225) 

当我输入X = zeros(时,命令窗口中会显示错误:

Exception in thread "QueuedMatlabWorker" java.lang.NoClassDefFoundError: Could not initialize class com.mathworks.mlwidgets.help.ProductFilterModel$InstalledState
    at com.mathworks.mlwidgets.help.DocCenterProductPrefs.getSelectedProductsFromPref(DocCenterProductPrefs.java:47)
    at com.mathworks.mlwidgets.help.DocCenterProductPrefs.getProductFilterModel(DocCenterProductPrefs.java:33)
    at com.mathworks.mlwidgets.help.DocCenterDocConfigParams.<init>(DocCenterDocConfigParams.java:37)
    at com.mathworks.mlwidgets.help.DocCenterDocConfig.getLocalConfig(DocCenterDocConfig.java:77)
    at com.mathworks.mlwidgets.help.DocCenterDocConfig.getInstance(DocCenterDocConfig.java:65)
    at com.mathworks.mlwidgets.help.DocCenterReferenceRetrievalStrategy.getInstance(DocCenterReferenceRetrievalStrategy.java:43)
    at com.mathworks.mlwidgets.help.DocCenterReferenceRetrievalStrategy.createDataRetriever(DocCenterReferenceRetrievalStrategy.java:79)
    at com.mathworks.mlwidgets.help.functioncall.MFunctionCall.getReferenceData(MFunctionCall.java:520)
    at com.mathworks.mlwidgets.help.functioncall.MFunctionCall.getSignatureString(MFunctionCall.java:489)
    at com.mathworks.mlwidgets.help.functioncall.MFunctionCall.createSignatureString(MFunctionCall.java:233)
    at com.mathworks.mde.functionhints.QueuedMatlabWorker$2.run(QueuedMatlabWorker.java:283)
    at java.lang.Thread.run(Unknown Source)

我该如何解决这些问题?

更准确地说,当我按 Ctrl + F1 时,会重复此错误。我认为它在MATLAB中用于显示函数输入。

0 个答案:

没有答案