Solution 330349

Submitted on 7 Oct 2013
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   Fail
%% 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');
Error: Undefined function or variable 'h'.