Why Does Keyboard Input Suddenly Stop Working on Mac?

4 views (last 30 days)
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.

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 12 Nov 2020
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.

More Answers (0)

Categories

Find more on Characters and Strings in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!