The keyboard shortcut to change focus to the editor doesn't work.
8 ビュー (過去 30 日間)
古いコメントを表示
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 件のコメント
Matt J
2025 年 9 月 14 日
編集済み: Matt J
2025 年 9 月 14 日
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.
回答 (2 件)
Matt J
2025 年 9 月 14 日
編集済み: Matt J
2025 年 9 月 14 日
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 件のコメント
Carlisle
2025 年 9 月 16 日
2 件のコメント
Steven Lord
2025 年 9 月 16 日
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.
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
