Keyboard input is not working in Matlab GUIs on Ubuntu 18.04

52 Ansichten (letzte 30 Tage)
Nils Waap
Nils Waap am 2 Sep. 2018
Bearbeitet: DGM am 5 Nov. 2023
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 Kommentare
Aidan Cyber Concepts
Aidan Cyber Concepts am 22 Apr. 2021
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 am 22 Apr. 2021
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.

Melden Sie sich an, um zu kommentieren.

Antworten (3)

Mika Mäki
Mika Mäki am 16 Apr. 2019
Bearbeitet: Mika Mäki am 8 Mai 2019
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 Kommentare
Matej Skrobot
Matej Skrobot am 6 Jan. 2021
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 am 23 Mai 2022
Issue is still present with current versions

Melden Sie sich an, um zu kommentieren.


DGM
DGM am 5 Nov. 2023
Bearbeitet: DGM am 5 Nov. 2023

Vijay
Vijay am 5 Nov. 2023
Verschoben: DGM am 5 Nov. 2023
Go to settings -> Keyboard then enable switch input sources option.
  1 Kommentar
DGM
DGM am 5 Nov. 2023
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.

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Startup and Shutdown finden Sie in Help Center und File Exchange

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by