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?

Antworten (0)

Kategorien

Mehr zu Interactive Control and Callbacks finden Sie in Hilfe-Center und File Exchange

Gefragt:

am 19 Feb. 2017

Community Treasure Hunt

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

Start Hunting!

Translated by