File Exchange

image thumbnail


version 1.0 (5.09 KB) by

brings up a tiny gui. use it e.g. to stop a loop inside a function by pressing a button.



View License

i use it in for or while loops, if i want the user to be able to interrupt the loop at any time (an easier solution would of course be hm=msgbox('stop') and check for ~ishandle(hm). anyway, in quickgui, the user can define and use any (or all) of three buttons, which e.g. can be used to pass instructions inside a loop at any time, without the need for stopping the loop and waiting for the user.

Comments and Ratings (1)

Georg D

Georg D (view profile)

to make sure that the gui is responsive in a loop, i usually include a pause(0.01) before checking the button's value.

MATLAB Release
MATLAB 7.7 (R2008b)

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video