Problem 1917. click away

Solution 1219820

Submitted on 25 Jun 2017 by LY Cao
  • Size: 13
  • This is the leading solution.
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.

Test Suite

Test Status Code Input and Output
1   Pass
h=msgbox('Click the OK button',''); clickOK(); assert(ishandle(h),'do not simply delete the figure'); drawnow; assert(~ishandle(h),'failed to click the OK button');