MATLAB Answers

how to get keyboard in matlab

5 views (last 30 days)
bo peng
bo peng on 12 Oct 2020
Answered: Fangjun Jiang on 14 Oct 2020
I donot want to use UIFigure to get keyboard input. I need a function that looks like key = getKeyPress(),key = z when I press "z" on the keyboard.Do you know?

  0 Comments

Sign in to comment.

Answers (1)

Fangjun Jiang
Fangjun Jiang on 14 Oct 2020
use function input()?

  0 Comments

Sign in to comment.

Products


Release

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by