How to increment a value?

I want to make a Push Button that whenever is pressed, the Static Text goes up one level. For example, it is 1 and after button press it gets 2. I know the GUI part, but I don’t know the code for incrementing the value. Any idea?

Réponses (0)

Catégories

En savoir plus sur Interactive Control and Callbacks 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!

Translated by