Can't use "DOC" command or search using "search documentation" in MATLAB R2015a

1 次查看(过去 30 天)
Hi
I am using MATLAB R2015a on windows 10. Plz guide me to solve the problem.
whenever i try to use doc command in command window or search using "search documentation" i get error
"
Exception in thread "DocCenterBrowserSearchBox" 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.mde.help.DocCenterBrowserSearchBox.getDocConfig(DocCenterBrowserSearchBox.java:137)
at com.mathworks.mde.help.DocCenterBrowserSearchBox.getSuggestionProvider(DocCenterBrowserSearchBox.java:146)
at com.mathworks.mde.help.DocCenterBrowserSearchBox.updateModel(DocCenterBrowserSearchBox.java:164)
at com.mathworks.mde.help.DocCenterBrowserSearchBox$SearchActionListener$1.run(DocCenterBrowserSearchBox.java:245)
Exception in thread "DocCenterBrowserSearchBox" 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.mde.help.DocCenterBrowserSearchBox.getDocConfig(DocCenterBrowserSearchBox.java:137)
at com.mathworks.mde.help.DocCenterBrowserSearchBox.getSuggestionProvider(DocCenterBrowserSearchBox.java:146)
at com.mathworks.mde.help.DocCenterBrowserSearchBox.updateModel(DocCenterBrowserSearchBox.java:164)
at com.mathworks.mde.help.DocCenterBrowserSearchBox$SearchActionListener$1.run(DocCenterBrowserSearchBox.java:245)
Exception in thread "AWT-EventQueue-0" 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.DocCenterUtils$DefaultDependencyProvider.getDocConfig(DocCenterUtils.java:310)
at com.mathworks.mlwidgets.help.DocCenterUtils$DefaultDependencyProvider.getDocUrlBuilder(DocCenterUtils.java:315)
at com.mathworks.mlwidgets.help.DocCenterUtils.getDocUrlBuilder(DocCenterUtils.java:75)
at com.mathworks.mlwidgets.help.DocCenterUtils.buildDocCenterSearchUrl(DocCenterUtils.java:105)
at com.mathworks.mde.help.DocCenterBrowserSearchBox$SearchActionListener.search(DocCenterBrowserSearchBox.java:234)
at com.mathworks.widgets.SearchTextField.requestSearch(SearchTextField.java:201)
at com.mathworks.widgets.SearchTextField$2.actionPerformed(SearchTextField.java:398)
at javax.swing.SwingUtilities.notifyAction(Unknown Source)
at javax.swing.JComponent.processKeyBinding(Unknown Source)
at javax.swing.JComponent.processKeyBindings(Unknown Source)
at javax.swing.JComponent.processKeyEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.KeyboardFocusManager.redispatchEvent(Unknown Source)
at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(Unknown Source)
at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(Unknown Source)
at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(Unknown Source)
at java.awt.DefaultKeyboardFocusManager.dispatchEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$200(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue$4.run(Unknown Source)
at java.awt.EventQueue$4.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
"
I have already installed latest version of java
P.S: MATLAB R2010a was working fine.

回答(1 个)

Walter Roberson
Walter Roberson 2016-3-6
MATLAB R2015a is not supported on Windows 10. The first MATLAB with Windows 10 support was R2015b.

类别

Help CenterFile Exchange 中查找有关 Startup and Shutdown 的更多信息

产品

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by