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?

Risposte (0)

Categorie

Scopri di più su Interactive Control and Callbacks in Centro assistenza e File Exchange

Richiesto:

il 19 Feb 2017

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by