How to change the button names depending on different situations?

6 visualizzazioni (ultimi 30 giorni)
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.

Risposta accettata

Fangjun Jiang
Fangjun Jiang il 16 Mar 2021
a=uicontrol;
a.String='load'
a.String='plot'
  3 Commenti

Accedi per commentare.

Più risposte (0)

Categorie

Scopri di più su Develop Apps Using App Designer in Help Center e File Exchange

Prodotti


Release

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by