using timer inside a loop-
6 ビュー (過去 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!