I'm working on a GUI
. I want something likes waitfor
for appdata
. For example I use setappdata(0,'Value',2)
in another window and i want my main gui
wait and stop to continue the code until this appdata
exists and the value is equal to 2
.
How can i do that?
Thanks.