Please note that the recommended version of Scilab is 6.0.0. This page might be outdated.
See the recommended documentation of this function
waitforbuttonpress (Matlab function)
Wait for key or mouse button press
There is no equivalent function for Matlab w=waitforbuttonpress in Scilab however it can be replaced by: [%v0,%v1,%v2,%v3,%v4] = xclick();w = bool2s(%v0>64);