Keypress event using a timer without interrupting the running process

Hi,
I am running a program.exe from MATLAB. While the program.exe runs, user interacts with it using certain keys (arrows, space, enter etc.).
I would like to use a timer to access the key pressed information during the first sub process associated with program.exe. Once this sub process is over, program completes running and I want the timer also to stop tracking the key press information grab.
I want the timer to start again once the program.exe continues with the next sub process and then stop when the sub process completes.
Any thoughts?

Answers (0)

Categories

Asked:

on 8 Oct 2015

Commented:

on 8 Oct 2015

Community Treasure Hunt

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

Start Hunting!