Configure Up Arrow to switch to command window when in figure window

2 ビュー (過去 30 日間)
Jeremy Grata
Jeremy Grata 2023 年 8 月 8 日
回答済み: Sai Teja G 2023 年 8 月 22 日
A number of versions back, when a plot would be generated in a figure window and the figure window was the active window, pressing the up arrow would return the cursor to the command prompt. In recent versions, it seems pressing up arrow while in a figure window activates the zoom-in function. How can the up arrow be configured to swich to the command window instead of zoom-in on a figure window?
  1 件のコメント
Walter Roberson
Walter Roberson 2023 年 8 月 8 日
When there are no Key Press callbacks for a figure, then typing into the figure triggers a refocus to the command window and sending the pressed keys to the command window. The up-arrow was not special: it was just less obvious. A space, for example, would have done the same thing.

サインインしてコメントする。

回答 (1 件)

Sai Teja G
Sai Teja G 2023 年 8 月 22 日
Hi Jeremy,
I understand that you want to go to command window on click of up_arrow from figure window.
If you press any key that does not have any associated key callbacks, it will take you from the figure window to the command window, not just the up arrow key.
Hope this helps!

カテゴリ

Help Center および File ExchangeInteractive Control and Callbacks についてさらに検索

製品


リリース

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by