Configure Up Arrow to switch to command window when in figure window
조회 수: 2 (최근 30일)
이전 댓글 표시
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
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
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!
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Interactive Control and Callbacks에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!