create an interrupt when a key is pressed

i want to interrupt the program execution and run another function when a key eg. Enter is pressed. i dont want the current execution to be halted while waiting for user input.

Answers (0)

Asked:

on 22 Oct 2013

Community Treasure Hunt

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

Start Hunting!