Scilab Home page | Wiki | Bug tracker | Forge | Mailing list archives | ATOMS | File exchange
Please login or create an account
Change language to: English - Français - Português - Русский
Scilabヘルプ >> Code Matlab => Scilab > Matlab-Scilab equivalents > W > waitforbuttonpress (Matlab function)

waitforbuttonpress (Matlab function)

Wait for key or mouse button press

Matlab/Scilab equivalent

Matlab Scilab
r = waitforbuttonpress
ev = xclick(); r = (or(ev==(0:2)) | ev>31)*1;
Scilab Enterprises
Copyright (c) 2011-2017 (Scilab Enterprises)
Copyright (c) 1989-2012 (INRIA)
Copyright (c) 1989-2007 (ENPC)
with contributors
Last updated:
Mon Jan 03 14:38:07 CET 2022