Tic Toc time programming function
10 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Hi
I created a function in app designer to use Tic and Toc for my timer. I have two Push buttons (one for Tic and one for Toc).
I want to setup a time interval like this:
Run the programme (Run button)........time interval-1 (sec)........Tic......Toc.........time interval-2 (sec)...............Tic......Toc.......time interval-3..................Tic...Toc
1-I want to assign a number to repeat the Tic and Toc function in a loop (eg. n=20 times, ...)
2-I want to start the Tic by a timing programme (random time interval relative to previous Toc and after the 'Run button') instead of pushing a button (eg. timer= every 60, every 75 second,..... activating the Tic).
3-if two buttons call the fucntions (Tic and Toc) separately, how I can create a UITable in app designer to collect data from both Tic and Toc times. I tried Properties but it did not work.
0 Kommentare
Antworten (1)
Supraja
am 7 Mär. 2023
I understand that you want to call your function in app designer multiple times and add intervals to your code .
Have a look at these documentation links which will help you in calling the function multiple times:
0 Kommentare
Siehe auch
Kategorien
Mehr zu Develop Apps Using App Designer finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!