フィルターのクリア

Keyboard input is not working in Matlab GUIs on Ubuntu 18.04

68 ビュー (過去 30 日間)
Nils Waap
Nils Waap 2018 年 9 月 2 日
コメント済み: Cosinus 2024 年 7 月 13 日 15:55
Hello Matlab Community, recently I installed Matlab2018a on my Ubuntu 18.04. After the installation was completed I tried to open Matlab GUIs but it did not work. I followed following instructions: ---
cd /usr/local/MATLAB/R2017b
cd cefclient/sys/os/glnxa64
mkdir exclude
mv libglib-2.0.so* exclude/
--- Afterwards I was able to open Matlab GUIs as e.g. Appdesigner, Simulink or the Log In window. Unfortunately its not possible to make keyboard inputs neither to 'Edit Fields' nor to the appdesigner code editor. Summarized: Keyboard inputs in any matlab gui are effectless. Does anybody know a solution? I look forward to your suggestions.
regards Nils
  7 件のコメント
Aidan Cyber Concepts
Aidan Cyber Concepts 2021 年 4 月 22 日
According to this page in the documentation, where they describe code generation in the App Designer, certain sections of the code editor are un-editable. You may change code for functions and properties that you define for your app but not for others.
Aidan Cyber Concepts
Aidan Cyber Concepts 2021 年 4 月 22 日
To clarify, I was having this symptom with the Code View, but realized that it was an intended feature - I was aiming to directly edit code rather than use the UI to handle that.

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

回答 (4 件)

Mika Mäki
Mika Mäki 2019 年 4 月 16 日
編集済み: Mika Mäki 2019 年 5 月 8 日
Confirmed with MATLAB R2019a on Kubuntu 18.04. A workaround is to activate the window by right-clicking its title bar.
Edit: Confirmed on Kubuntu 19.04 as well.
  3 件のコメント
Matej Skrobot
Matej Skrobot 2021 年 1 月 6 日
Hi, I also have the same problem on Ubuntu 16.04. I can activate buttons in App Designer using the WindowScrollWheel function, but WindowKeyPress or KeyPress do not work unless I right-click the title bar or reclick the App window in the taskbar.
Thomas Homm
Thomas Homm 2022 年 5 月 23 日
Issue is still present with current versions

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


DGM
DGM 2023 年 11 月 5 日
編集済み: DGM 2023 年 11 月 5 日

Vijay
Vijay 2023 年 11 月 5 日
移動済み: DGM 2023 年 11 月 5 日
Go to settings -> Keyboard then enable switch input sources option.
  1 件のコメント
DGM
DGM 2023 年 11 月 5 日
Where?
If you're talking about MATLAB settings, there isn't any such option in any version I know of.
If you're talking about OS/DE dependent settings, then you haven't provided any information about that.
You do know that this is a known bug, right? It's not solved by changing the input device.

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


Cosinus
Cosinus 2024 年 7 月 8 日 18:52
Hello,
Any news about this issue ?
Now with 2018b at work. We need to get a working 2023b + Ubuntu 24.04 combo.
Due to CUDA compatibility, our costly GPUs stuff will not work with CUDA > 11.4.
In case this will be finally solved, will the solution only apply to the last MatLab version ?
Thank you.
  1 件のコメント
Cosinus
Cosinus 2024 年 7 月 13 日 15:55
Hello,
Switching to Xorg did not help.
I tried again with a colleague having MIB2 solftware for matlab under Ubuntu 24.04. There are old way of design windows and app designer windows. Old way works as usual using any type of fields.
For app designer windows, instead of right clicking on window title bar each time, which can be painful, quickly left then right clicking on a field or drop list activates it for modification with keyboard. Then drop a list with down arrow, select with up/down arrows and validate with Enter (do not use mouse) or just write characters in text/numeric fields and validate with Enter.
Hope this helps.

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

カテゴリ

Help Center および File ExchangeEnvironment and Settings についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by