Who won't some keys (like [ { ) work in MATLAB 2012a; neither in the editor nor in the command window?
Afficher commentaires plus anciens
I've got Fedora 18 and Java 7u17 (I had u11 but I updated after seeing this problem--the update didn't solve the problem).
I can't type these keys: [ |(|
I can type the close brackets but not the open ones...
I've got a Spanish Keyboard, and to type [ I've got to first press the alt gr key and then the ` key.
The ` doesn't work either, I mean it doesn't matter if I press or not the alt gr is the key ` the one that isn't working.
The key that produces the [ is not the only one that doesn't work. For instance the key ´ which produces with alt gr { also doesn't work.
2 commentaires
Walter Roberson
le 18 Mar 2013
Is this only affecting MATLAB ?
Esteban Registrado
le 18 Mar 2013
Réponses (7)
Marco Vannucci
le 31 Août 2016
You can disable shortcuts with this command from matlab command line:
com.mathworks.desktop.mnemonics.MnemonicsManagers.get.disable
It works for me.
1 commentaire
PureLearningCoding
le 21 Nov 2017
It solves my problem!
Jan
le 18 Mar 2013
0 votes
I had similar problems with Matlab 6.5 and a manually changed Java under Windows. I have not been able to solve this, such that I returned to the original Java versions shipped with Matlab.
Esteban Registrado
le 18 Mar 2013
0 votes
3 commentaires
Walter Roberson
le 18 Mar 2013
Try checking the LANG environment variable.
getenv('LANG') %inside MATLAB
echo $LANG #at the shell level
@Walter: Then pressing "{" should let another character appear. But the OP wrote "does not work" (which is, btw., one of the problem descriptions I do not like), what could mean, that nothing appears.
@Esteban: Is it possible to run Matlab with the old Java for its GUIs and call the new Java to connect your device using system()?
Walter Roberson
le 18 Mar 2013
I suspect that copying and pasting in the strings will work long enough to obtain the information about the LANG environment variable.
Esteban Registrado
le 18 Mar 2013
0 votes
Esteban Registrado
le 19 Mar 2013
0 votes
Esteban Registrado
le 19 Mar 2013
Modifié(e) : Walter Roberson
le 19 Mar 2013
1 commentaire
Ricardo Amaral
le 5 Déc 2020
This one worked for me
Mark
le 30 Mai 2013
0 votes
I think the reason behind this is that matlab captures the Alt+Gr for shortcuts. I think matlab should differentiate between Alt and Alt+Gr
You can see this behaviour by pressing Alt-Gr on the main window and seeing the shortcuts appear.
System: Matlab R2013a, Fedora 18 x64
Catégories
En savoir plus sur Environment and Settings dans Centre d'aide et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!