|
"Denis Siponen" <nobody@nobody.com> wrote in message
<fmkmko$1sm$1@fred.mathworks.com>...
> I'm trying to implement pause feature to my GUI. My
> objective is: When I click button with mouse, function
> associated to that button will execute. When I click that
> button again with my mouse and previous execution is
> unfinished, prorgam will pause. When I click my button
> again, it will continue execution from the point I
halted it
> when I paused program.
>
> Any ideas?
Hello
Probable workaround suggested, would be to make "enable"
property of the pushbutton to be "off" till your functions
are executing. As soon as the functions are executed you
can turn the "enable" property to "on" again..
HTH
Vihang
|