Doug Hull, MathWorks
(Originally posted on Doug's MATLAB Video Tutorials blog.)
I had a question recently about having a process occur until a button is pressed in a GUI (or while a button is pressed). This video shows how a button can control the output of a stream of random numbers.