controling UIcontrol visibilty in timer functions-

1 view (last 30 days)
I have a problem that is'nt clear to me- me GUI is in this link- https://docs.google.com/document/d/1t8PgnroOC5NE_5cyZBFP4-vW7ED08X3E0FoDDl8ImSM/edit
I have the UIcontrols- 'a9' and 'th' that suppose to become unvisible after the time is finished (function timerFinished),
but I found out that if the time is finished while the key is pressed it doesnt happen, because it contradict with the orders inside function youPress ..
(everything is just fine if the time ends when the key is not pressed..)
have any idea how to fix it without to many changes?

Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!