Who won't some keys (like [ { ) work in MATLAB 2012a; neither in the editor nor in the command window?
古いコメントを表示
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 件のコメント
Walter Roberson
2013 年 3 月 18 日
Is this only affecting MATLAB ?
Esteban Registrado
2013 年 3 月 18 日
回答 (7 件)
Marco Vannucci
2016 年 8 月 31 日
You can disable shortcuts with this command from matlab command line:
com.mathworks.desktop.mnemonics.MnemonicsManagers.get.disable
It works for me.
1 件のコメント
PureLearningCoding
2017 年 11 月 21 日
It solves my problem!
Jan
2013 年 3 月 18 日
0 投票
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
2013 年 3 月 18 日
0 投票
3 件のコメント
Walter Roberson
2013 年 3 月 18 日
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
2013 年 3 月 18 日
I suspect that copying and pasting in the strings will work long enough to obtain the information about the LANG environment variable.
Esteban Registrado
2013 年 3 月 19 日
編集済み: Walter Roberson
2013 年 3 月 19 日
1 件のコメント
Ricardo Amaral
2020 年 12 月 5 日
This one worked for me
Mark
2013 年 5 月 30 日
0 投票
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
カテゴリ
ヘルプ センター および File Exchange で Desktop についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!