Can I switch between individual figure windows with the Apple-Tab key combination in MATLAB?

26 ビュー (過去 30 日間)
On the Windows version of MATLAB, I can switch between undocked individual figure windows and the main MATLAB window using the Alt-Tab key combination. However, on the Macintosh version of MATLAB, I cannot switch between individual figure windows with the analogous Cmd-Tab key combination.


MathWorks Support Team
MathWorks Support Team 2009 年 6 月 27 日
This is the correct behavior on Mac OS X. The Cmd-Tab key combination cycles through applications, not windows.
The ability to cycle through figure windows is a feature added in the Mac OS X version of MATLAB 7.2 (R2006a). To cycle through an application’s window layer (or individual windows), use the Cmd-~ key combination.
For previous product releases, you must use the Window menu and select the appropriate figure window.
  8 件のコメント
manan lalit
manan lalit 2019 年 2 月 8 日
is there a keyboard shortcut to toggle between figures in the Linux version of MATLAB 2018a? Thank you!


その他の回答 (5 件)

Joseph MacGregor
Joseph MacGregor 2018 年 6 月 26 日
I've also experienced this issue in R2018a on High Sierra and am interested in seeing Cmd+~ functionality restored. Thanks for letting us know that Cmd+Shift+~ still works, though.
  1 件のコメント
belinda suthers
belinda suthers 2018 年 8 月 9 日
I'd like to add my weight to this request. Using cmd+~ was a powerful tool to cycle through open matlab windows on previous versions; cmd+shift+~ is not practical and I would greatly appreciate the old functionality being restored.


Ruth Musgrave
Ruth Musgrave 2018 年 11 月 14 日
Agree. This issue of not being able to cycle through figures is negatively affecting my workflow.

James Van Zandt
James Van Zandt 2019 年 2 月 22 日
I see <command> ~ fails with R2018b also (only toggling between two windows, not cycling among all windows). The workaround is considerably less convenient: It requires three keys instead of two, and cycles through the windows in the least convenient order. If I visit window 1 then 2 then 3, and want to return to 2, I can use <command> `. However, if I want to return to 1, I must use <shift><comand> ` and cycle through all the other windows first.
The default under MacOS (see system->preferences->keyboard->shortcuts->keyboard) is that <command> ` will "Move focus to next window". Please restore that configuration.
  1 件のコメント
Kevin Anchukaitis
Kevin Anchukaitis 2019 年 3 月 23 日
I'd like to lend my voice to this issue as well - the loss of Cmd-~ focus behavior is extremely inconvenient. Is there a bug fix for this in the works?


James Van Zandt
James Van Zandt 2019 年 4 月 19 日
I have installed MATLAB R2019a, and find that <cmd> ` once again cycles among all open MATLAB windows, rather than just toggling between the last two. However, I've been unable to figure out its rule for the order.
To review: on the Mac, the OS maintains a stack of apps, and <cmd><tab> lets you pull an app to the top of the stack. <cmd><shift><tab> operates with the same stack, but starting at the bottom (i.e., the right end of the row of icons).
With Microsoft Office on the Mac, <cmd> ` cycles among windows in one order, and <cmd><shift> ` cycles among them in the opposite order. Unlike with <cmd> <tab>, it does not matter whether you hold <cmd> down between presses of `. The windows form a ring rather than a stack, and the keyboard combinations do not affect the order. The order can be changed by clicking on the windows. If you click on A then B then C then D, then <cmd><shift> ` will visit them in that order, and <cmd> ` will visit them in the opposite order. If you're on window A and want to toggle between A and B, first click on B to make it "next". Then <cmd> ` will go "back" to A, and <cmd><shift> ` will go "forward" to B.
With MATLAB R2019a, if you click on window A then B then C then D, then <cmd><shift> ` will visit them in that order. <cmd> ` will also visit each of the windows, but not necessarily in the opposite order. It seems to use a different ring, that is not affected by either clicks or keypresses. If you use one of these shortcuts to cycle through the windows and go too far, you cannot use the other shortcut to "back up". I've found no convenient way to toggle between windows.
I really wish <cmd> ` and <cmd><shift> ` implemented a stack of windows, so I could conveniently navigate among a subset of them, while keeping others available at need. Failing that, I think the Office scheme (which lets me "back up") or even the R2018b scheme (where <cmd> ` just toggles between the last two windows) look more useful than the R2019a scheme.

Misun Kim
Misun Kim 2021 年 12 月 11 日
I just want to add that Matlab R2019b, command+shift+` (command+ ~) doesn't do anything.. Maybe this feature is dropped again. Phew.
How do peple switch between many figure windows with keyboard in this version of MATLAB? It's really inconvenient to navigate between many figure windows, and it takes a lot of time to find a specific figure because I have to manually click every open windows from the Windows tab.
My current workaround is to place the MATLAB on a separate Mac desktop (separate from other application like Finder, Firefox, etc), then show all the tab in that desktop using Missin Control (F3). But this is really inefficient.
  1 件のコメント
Misun Kim
Misun Kim 2021 年 12 月 11 日
I think one relevant issue is that on Mac version of MATLAB, Windows->Bring All to Front doesn't work. I expect all MATLAB figures window to appear front, but nothing happens when I click this. It seems like a bug..



Community Treasure Hunt

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

Start Hunting!

Translated by