How to change the button names depending on different situations?

3 Ansichten (letzte 30 Tage)
Leon
Leon am 16 Mär. 2021
Kommentiert: Leon am 16 Mär. 2021
I'm referring to buttons within app-designer. For example,
I would want the button to be called "load" in one situation, and "plot" in another situation, even though they are the same button.
Many thanks.

Akzeptierte Antwort

Fangjun Jiang
Fangjun Jiang am 16 Mär. 2021
a=uicontrol;
a.String='load'
a.String='plot'
  3 Kommentare

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Develop Apps Using App Designer finden Sie in Help Center und File Exchange

Produkte


Version

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by