Use timer to update text in pushbutton?
Afficher commentaires plus anciens
Hello,
Is there a way for a pushbutton to change its text automatically after every 5 or so seconds? My plan is to use a matrix that will contain cells of words that will be displayed onto the pushbutton. For example it will start with the word " bent" then after five seconds, it will display " went". The changing text should not be dependent on the user pressing the button. If a pushbutton is not the way to go, then can you help me with what can work? I am very new to this whole GUI idea. Also, is it better to use GUIDE or write up my own code? Thank you.
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Loops and Conditional Statements dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!