MATLAB Answers

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

49 views (last 30 days)
Misun Kim
Misun Kim on 25 Oct 2019
Commented: Thomas Keefe on 19 Feb 2020
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 Comment

Sign in to comment.

Answers (2)


Misun Kim
Misun Kim on 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)

Community Treasure Hunt

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

Start Hunting!