Why Does Keyboard Input Suddenly Stop Working on Mac?

10 次查看(过去 30 天)
After about 30 minutes, the keyboard input stops working in MATLAB. I am still able to click but cannot type into a script or the command window.

采纳的回答

MathWorks Support Team
This issue is related to the accent character display on Mac. If this issue arises, press and hold a key without accent options (like 'q') for 3-5 seconds. This should restore the ability to type. 
Alternatively, disabling the character accent menu on your Mac may remedy the issue permanently. You can do this by launching the Terminal on your Mac and entering in the following line:
defaults write -g ApplePressAndHoldEnabled -bool false
Then restart MATLAB.
This will change your settings so that holding down a key on the keyboard types that key repeatedly, instead of bringing up the accent menu.

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Characters and Strings 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by