using timer inside a loop-
1 次查看(过去 30 天)
显示 更早的评论
hey.. I am stuck on this all day- I even made a couple of different versions.. but no luck so far-
my GUI's aim is to show images and to get a response from the user - a response can be a key press (E or I) or no response..
between the images themself there should be a3 seconds pause showing some text (a7 UIcontrol in my code)
the problem is that I need to do it for 30 times so, I use a loop with a timer inside it but , the GUI works bad..
it should do as follow- (the numbers are not important)
for 30 times do-
2 sec showing text (a7)
then showing an image for 3 sec or until I\E are pressed
end
this is my code- I am adding two versions, because they are differ mostly in the TIMER functions and properties..
and the photos are here( although u can use any 2 jpg photos)-
at first the problem was always an error- ' u try to start the timer when it allready works' , but now it is something else..
will appreciate any help
0 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Migrate GUIDE Apps 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!