Suddenly command window and editor being unresponsive to the keyboard input. Undocking temporarily solves the problem but..

7 vues (au cours des 30 derniers jours)
I recently switched from MATLAB R2018a (+Windows) to MATLAB R2019b (+Mac), and I found very strange (and annoying) behaviour. After using MATLAB for some time (default layout with command window,editor, workspace docked), suddenly command window and m-file editors become unresponsive to the keyboard input. Neither I can type in the Workspace and Current Folder. However, I can still type in Variable windows.
If I undock the Command Window and Editor when the keyboard inputs becomes unresponsive, I can type again. However, if I docked the windows again, I can't type. It is so weird... If I restart the MATLAB, problem disappears. But the same problem can occur after just half an hour or after several hours of usage. I could not find the pattern yet.
I wonder whether it is some kind of bugs of the latest version of MATLAB and the Mac OS (it is suspicious that undocking temporarily solves the problem. some kind of GUI, priority problem?)
Any help will be greatly appreciated. I really want to work with my good old layout (command window and editor all in one place, instead of floating windows all over the screen) and it is so painful to restart MATLAB everytime.
Here is version information.
-----------------------------------------------------------------------------------------------------
MATLAB Version: 9.7.0.1190202 (R2019b)
MATLAB License Number: 40523909
Operating System: Mac OS X Version: 10.14.6 Build: 18G87
Java Version: Java 1.8.0_202-b08 with Oracle Corporation Java HotSpot(TM) 64-Bit Server VM mixed mode
-----------------------------------------------------------------------------------------------------
Thanks
  1 commentaire
Misun Kim
Misun Kim le 8 Nov 2019
Strangely, the problem seems to disappear after I installed KeyCastr (keystroke visualizer software)....

Connectez-vous pour commenter.

Réponses (2)

Misun Kim
Misun Kim le 25 Nov 2019
I think the keyboard input problem is fixed after disabling the character accent menu in Mac. (at leas for now!)
defaults write -g ApplePressAndHoldEnabled -bool false (in terminal)
  1 commentaire
Thomas Keefe
Thomas Keefe le 19 Fév 2020
This solved my problem. Matlab staff, please address this! It took me a lot of googling to find this.

Connectez-vous pour commenter.


Sahithi Kanumarlapudi
Sahithi Kanumarlapudi le 7 Nov 2019
You can contact the MathWorks support team to help you solve this issue

Catégories

En savoir plus sur Environment and Settings dans Help Center et File Exchange

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by