control for-loop index using a gui slider
Ältere Kommentare anzeigen
I'm on an older version of Matlab (2011a) and am trying to set up an interactive loop. I am for-looping through a time vector, and would like to control the index via a gui slider. How would you go about solving that? A play/stop function that works together with a plotting function. Most other questions on the topic relate to stopping loops using gui functions which isn't quite the idea here.
Akzeptierte Antwort
Weitere Antworten (1)
Walter Roberson
am 14 Feb. 2018
0 Stimmen
You might want to adapt video_fig from the File Exchange.
Kategorien
Mehr zu Loops and Conditional Statements finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!