The keyboard shortcut to change focus to the editor doesn't work.
8 views (last 30 days)
Show older comments
Maybe I am missing something, I was looking for a way to change focus to the editor pane and I saw the documentation at Use Keyboard Shortcuts to Navigate MATLAB, mentioning Ctrl+Shift+0, but it seems not to work on my machine (Windows 11).
Ctrl+0, the one to change focus to the command window works, and Ctrl+1, Ctrl+2, Ctrl+3 all work as well, but Ctrl+Shift+0 does not. I checked in case there was a global shortcut on Windows set to do something for Ctrl+Shift+0, but there is none; is it a known bug?
In case it adds something, because I read a similar question that mentioned upgrading from an older version of it, it was installed from scratch and there never was an older MATLAB version in the system.
3 Comments
Matt J
on 14 Sep 2025
Edited: Matt J
on 14 Sep 2025
I do find, in Windows 10, that I can bring the editor into a state where Ctrl+Shift+0 does not work. The steps are as follows:
(1) Open two mfiles File1.m and File 2.m with the editor docked.
(2) Undock File2.m
(3) Close File1.m
Now, try using Ctrl+Shift+0 to toggle focus to File2.m in the external editor window. I find that it does not work.
However, if I then manually bring File2.m into focus with the mouse (see also my answer below), I find that toggling with Ctrl+0 and Ctrl+Shft+0 work again.
Answers (2)
Matt J
on 14 Sep 2025
Edited: Matt J
on 14 Sep 2025
Try first dragging the editor window into focus manually with the mouse. Then, check if Ctrl+0 and Ctrl+Shift+0 toggles the editor in and out of focus.
Check also that you have only a single editor window open and that it is undocked. If you have another editor window open which happens to be docked, Ctrl+Shift+0 will not work.
0 Comments
Carlisle
on 16 Sep 2025
2 Comments
Steven Lord
on 16 Sep 2025
Please report this issue to Technical Support directly using this link. If it's an issue that has been reported by other users in the past, they may be able to suggest a workaround. If not, they can escalate it to the development staff.
See Also
Categories
Find more on Desktop in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!