Hotkeys not working in matlab

Hi everyone! For some unknown reason, hotkeys do not work in the editor and command window. When I select the hotkey editor in the settings, for example Ctrl+W... I'm trying to set Ctrl+W, i press Ctrl+W but Matlab displays it as Ctrl+[]. So it's like it can't understand the symbol. Plz help. It's impossible to work without Ctrl+Z, Ctrl+C, etc.
OS: Pop!_OS 22.04 LTS x86_64

4 Comments

Matt J
Matt J on 3 Nov 2022
Edited: Matt J on 3 Nov 2022
Have you tested to see if Ctrl+W works? Since it is listed above Ctrl+[], I don't see why they both wouldn't be recognized.
Matt J, none of the preset hotkeys (Ctrl+W/Ctrl+C/Ctrl+V/et cet.) work. No copy, no paste, no comment, no uncomment. Nothing. When I try to add a hotkey, it shows up as Ctrl+[] whichever key I press. Of course, I could manually mark all the keys I need in this way. But they don't work either. Ctrl+[] option doesn't work in command window or editor
Yoav
Yoav on 26 Jan 2025
Edited: Yoav on 26 Jan 2025
Any update on this issue? I'm having the same problem and nothing I try works.
I use MATLAB 2023b on Linux Mint.
Thanks!
Hi @Yoav, the issue seems to be related to keyboard layout. Can you let me know what language keyboard you are using ? Also please try using on-screen English-US keyboard and check if the issue persists.

Sign in to comment.

Answers (1)

Samar
Samar on 28 Jan 2025
I believe keyboard shortcuts are not working because of the following reasons:
  1. Unsupported keyboard layout.
  2. Unsupported OS. Pop!_OS is not supported by MATLAB.
I have been using Ubuntu 22.04 OS for running MATLAB and all the keyboard shortcuts run as intended.
The system requirements can be cross-checked through the link given below:
Changing keyboard layout at OS level can help as well.
Regards,
Samar

Categories

Products

Release

R2022b

Asked:

on 3 Nov 2022

Answered:

on 28 Jan 2025

Community Treasure Hunt

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

Start Hunting!