フィルターのクリア

Can't type tilde ~In MATLAB 2023a

98 ビュー (過去 30 日間)
Martin Randau
Martin Randau 2023 年 3 月 22 日
コメント済み: Fredrik Qwarfort 2024 年 5 月 28 日
I'm on Ubuntu 23.04 and MATLAB 2023a. I can type tilde in all other programs, but it does not work in MATLAB. Only a blank space is generated. On my keyboard I use AltGr + " to generate tilde. It works to type other special characters in MATLAB such as | and ± using AltGr. At matlab startup I get Warning: X does not support locale en_DK.UTF-8 but after googling it does not seem to be related to this problem. It worked in MATLAB 2022b.
I realize it might have to do with Ubuntu 23.04 which is in beta, but any troubleshooting tips would be appreciated.
BW
Martin
  1 件のコメント
Adam Danz
Adam Danz 2023 年 3 月 22 日
Please contact tech support and include instructions how to reproduce the problem.

サインインしてコメントする。

回答 (3 件)

Riccardo Scorretti
Riccardo Scorretti 2023 年 5 月 6 日
Dear Martin,
I have a similar problem with the key ^. By all evidence Antonio is right: the problem is with the uncorrect handling of dead keys.
On my system (Linux Fedora / Matlab 2023a) I could find a work around by changing the keyboard setting from "Français (variant)" to "Français (sans touches mortes)". That is: from the system menu, modify the keyboard setting so as to select a variant with no dead keys.
My best
  1 件のコメント
Andreas
Andreas 2024 年 1 月 3 日
you are a life-saver!

サインインしてコメントする。


Antonio Sala
Antonio Sala 2023 年 4 月 21 日
Maybe you are hitting the 2023a dead keys bug in non-English locales?
https://es.mathworks.com/support/bugreports/100994 %an old bug that seems to have a comeback
I contacted techincal support and they said they upstreamed the issue to developers... but R2023a Update1 does not fix the issue for me...
  3 件のコメント
Douglas
Douglas 2023 年 11 月 9 日
編集済み: Douglas 2023 年 11 月 9 日
Same Problem here with Fedora 39 Matlab R2023b. Spanish keyboard. Dead keys not working.
Fredrik Qwarfort
Fredrik Qwarfort 2024 年 5 月 28 日
Same problem with both R2022b and 2023b and swedish keyboard. ~ and ^ is not working.

サインインしてコメントする。


Naren
Naren 2023 年 3 月 31 日
Hello Martin,
It's possible that MATLAB 2023a on Ubuntu 23.04 beta does not have the proper key mapping for the tilde character. You can attempt the following troubleshooting advice:
  1. Verify Ubuntu's Keyboard options. Verify the key mapping for tilde and that your keyboard's layout is set properly.
  2. Try an alternative key combination. For instance, you could try using the tilde key on your keyboard (if it has one) or an alternative key combination, like AltGr + N.
  3. Verify your MATLAB settings. Verify that there are no conflicts with the key combination you are using to create the tilde by going to Preferences > Keyboard > Shortcuts. You can also try entering "matlab -r" in a terminal window to reset your MATLAB preferences to their preset values.
  4. Try MATLAB in a new window manager or desktop environment. There might be a problem with the desktop environment you are currently using.
Here are some documentation that might help you
Hope this resolves your issue.

カテゴリ

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

タグ

製品


リリース

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by