From: Ironic Prata on 9 May 2010 19:39 My objective is to run a function, and them comeback to main cycle to check if any key has been pressed in the meantime. The function will take a few ms at most, but the key press is simulated (via bluetooth device), so i think it wont be the same as a human keypress (where the key stays down at least a few hundredths of a second), meaning i believe key press could occur only during the function. If no key was pressed during that interval, function would be run again. I´ve tried looking around, and found similar things in the file exchange(like getkey, that can read the bluetooth keypress) but locks until a key is pressed. Any suggestions? Thank You
|
Pages: 1 Prev: error when trying to use 'hilbert' Next: averaging several matrices |