필터 지우기
필터 지우기

How to stop displaying keyboard input on matlab command line

조회 수: 9 (최근 30일)
Happy Bear
Happy Bear 2020년 3월 4일
답변: Jamuna 2020년 3월 4일
I've developed a "game" on matlab which opens up a window, I play it using 2 different keys repeatedly and then the game ends and the window closes.
When the window closes, I can see all the letters corresponding to the keys that I played during the game, in the command line, smth like:
Is there any way for this not to be displayed on the command line or for it be deleted before the game window closes?
>> adaddadaddda

답변 (1개)

Jamuna
Jamuna 2020년 3월 4일
End the statement of keyboard input with semicolon
x = input(prompt);

카테고리

Help CenterFile Exchange에서 Number games에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by