How to use "getkey" correct ?

28 views (last 30 days)
Ole
Ole about 18 hours ago
Commented: Walter Roberson about 10 hours ago
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

Answers (1)

Star Strider
Star Strider about 9 hours ago
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 Comments
Star Strider
Star Strider about 1 hour ago
The only other option I can think of that could work is inputdlg or its friends.

Sign in to comment.

Categories

Find more on Desktop in Help Center and File Exchange

Products


Release

R2021a

Community Treasure Hunt

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

Start Hunting!