How to use "getkey" correct ?

32 次查看(过去 30 天)
Ole
Ole 2025-12-12,12:42
评论: Walter Roberson 2025-12-12,20:55
I am currently using "getkey" but it appears to include some falts. The worst one is that it stops matlab and goes to the matlab main window, however the maylab script still runs, but it is hard to use without seeing the figure of my apllication.
What alternative functions can be used instead of "getkey" ?
best regards
Ole

采纳的回答

Star Strider
Star Strider 2025-12-12,12:57
I am not certain what you are doing. Two options could be waitfor or waitforbuttonpress. There are additional possibilities in the See Also section of both pages.
  9 个评论
Star Strider
Star Strider 2025-12-12,16:29
The only other option I can think of that could work is inputdlg or its friends.

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Desktop 的更多信息

产品


版本

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by