File Exchange

image thumbnail


version (5.09 KB) by Georg D
brings up a tiny gui. use it e.g. to stop a loop inside a function by pressing a button.


Updated 20 Jul 2011

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

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 Compatibility
Created with R2008b
Compatible with any release
Platform Compatibility
Windows macOS Linux