File Exchange

image thumbnail


version (5.7 KB) by Paulo Silva
Just a quick and dirty example of a GUI that starts, pauses and stops a loop


Updated 03 Dec 2010

View License

After the user press start it starts adding 1 to the value displayed in the textbox until the user press pause or stop, also it shows how to enable and disable buttons.

I was inspired to do the GUI after seeing Doug’s MATLAB Video Tutorial called How to loop until a button is pushed in MATLAB in

Cite As

Paulo Silva (2019). SpSpj (, MATLAB Central File Exchange. Retrieved .

Comments and Ratings (2)

Ahmet Ince

Thank you. This was realy helpful for my gui.

MATLAB Release Compatibility
Created with R2007b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Tags Add Tags