Function like kbhit(), but for deployed console applications.

I'd like to use the kbhit() (See link below) function in a deployed console application so that I can detect a user keypress while the application is running in a loop.
kbhit uses the line:
mde = com.mathworks.mde.desk.MLDesktop.getInstance;
but that doesn't exist in the deployed console environment. Anyone know the equivalent object or another alternative?

카테고리

도움말 센터File Exchange에서 Scope Variables and Generate Names에 대해 자세히 알아보기

제품

릴리스

R2017a

질문:

2020년 11월 16일

답변:

2020년 11월 16일

Community Treasure Hunt

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

Start Hunting!

Translated by