답변 (1개)

Stephen23
Stephen23 2015년 4월 20일
편집: Stephen23 2015년 4월 20일

0 개 추천

You can use pause to achieve this.

댓글 수: 2

Mr M.
Mr M. 2015년 4월 20일
No, no! I would like to wait a specific character! For example pressing "a" to doing something and pressing "b" to do something else!
Stephen23
Stephen23 2015년 4월 20일
편집: Stephen23 2015년 4월 20일
Then you could try using input, and calling switch with the value that the user inputs.

댓글을 달려면 로그인하십시오.

카테고리

도움말 센터 및 File Exchange에서 Debugging and Improving Code에 대해 자세히 알아보기

질문:

2015년 4월 20일

편집:

2015년 4월 20일

Community Treasure Hunt

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

Start Hunting!

Translated by