MATLAB Answers

Using ctrl-backspace to remove previous word in command window

40 views (last 30 days)
Shaiyan
Shaiyan on 13 Apr 2015
Answered: Darshan Shah on 21 Nov 2019
I use ctrl-backspace in MATLAB Editor (MATLAB 2015a) to remove the previous word, but it doesn't work in the command window. I tried changing it in Preferences -> Keyboard -> Shortcuts, but there doesn't seem to be the option to bind it to "Remove Previous Word" in the Command Window. In the attached image, you can see that it is set to work in the MATLAB Editor, but when clicking the down-arrow next to where it says MATLAB Editor, it does not show any other options.
This seems like a very common shortcut used by many Windows programs, and it's strange that it should only be allowed in the editor. If it's actually not allowed, why? Is there a workaround?
Thanks!

  0 Comments

Sign in to comment.

Answers (3)

Sean Houlihan
Sean Houlihan on 11 Jul 2017
It's amazing that there is still no fix for this. Mathworks is really intent on driving away programmers.

  0 Comments

Sign in to comment.



Darshan Shah
Darshan Shah on 21 Nov 2019
What I've observed is, sometimes it seems to work, and sometimes it just doesn't. (I'm on r2019a) When it doesn't for some reason, restarting MATLAB makes it work again.

  0 Comments

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!