MATLAB Answers

0

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

Asked by Misun Kim on 25 Oct 2019
Latest activity Answered by Misun Kim on 25 Nov 2019 at 15:47
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

Strangely, the problem seems to disappear after I installed KeyCastr (keystroke visualizer software)....

Sign in to comment.

2 Answers

Answer by Sahithi Kanumarlapudi on 7 Nov 2019

You can contact the MathWorks support team to help you solve this issue

  0 Comments

Sign in to comment.


Answer by Misun Kim on 25 Nov 2019 at 15:47

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)

  0 Comments

Sign in to comment.