waitforbuttonpress
Last updated
Was this helpful?
Last updated
Was this helpful?
Wait for click or key press.
w = waitforbuttonpress()
w - a scalar double value: 0 for mouse button pressed, 1 for key pressed.
w = waitforbuttonpress() pauses the execution of code until the user interacts with the current figure by either clicking a mouse button or pressing a key.
, .
1.7.0
initial version
Allan CORNET