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

1 vue (au cours des 30 derniers jours)
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)

Réponse acceptée

MathWorks Support Team
MathWorks Support Team le 18 Déc 2009
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.

Plus de réponses (0)

Catégories

En savoir plus sur Desktop dans Help Center et File Exchange

Tags

Aucun tag saisi pour le moment.

Produits


Version

R2009b

Community Treasure Hunt

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

Start Hunting!

Translated by