Why do I receive an error when I try to change my keyboard shortcut preferences in MATLAB 7.9 (R2009b)?

1 回表示 (過去 30 日間)
I want to change my keyboard shortcut preferences in MATLAB 7.9 (R2009b), therefore I try to navigate to "File" -> "Preferences..." -> "Keyboard" -> "Shortcuts". However when I select the "Shortcuts" option I receive the following error:
PrefsDialog: unable to find class com.mathworks.mlwidgets.prefs.binding.KeyboardShortcutsPrefPanel, with method createPrefsPanel.
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
(...)
Caused by: java.lang.NoClassDefFoundError: com/jidesoft/shortcut/ShortcutField
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
(snip)

採用された回答

MathWorks Support Team
MathWorks Support Team 2009 年 12 月 18 日
This error can occur if there is something wrong with your 'classpath.txt' file. Most probably a customized classpath.txt which was based on the classpath.txt from a previous MATLAB version is used. To see which classpath.txt there are on your MATLAB path you can use the following command:
which -all classpath.txt
If you do not need a customized classpath.txt, remove all founds classpath.txt files except $MATLABROOT\toolbox\local\classpath.txt.
If you do need a customized classpath.txt, please create a new one which you base on $MATLABROOT\toolbox\local\classpath.txt.

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeDesktop についてさらに検索

タグ

タグが未入力です。

製品


リリース

R2009b

Community Treasure Hunt

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

Start Hunting!

Translated by