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

7 ビュー (過去 30 日間)
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 件のコメント
Misun Kim
Misun Kim 2019 年 11 月 8 日
Strangely, the problem seems to disappear after I installed KeyCastr (keystroke visualizer software)....

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

回答 (2 件)

Misun Kim
Misun Kim 2019 年 11 月 25 日
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 件のコメント
Thomas Keefe
Thomas Keefe 2020 年 2 月 19 日
This solved my problem. Matlab staff, please address this! It took me a lot of googling to find this.

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


Sahithi Kanumarlapudi
Sahithi Kanumarlapudi 2019 年 11 月 7 日
You can contact the MathWorks support team to help you solve this issue

カテゴリ

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