How to change the button names depending on different situations?

19 views (last 30 days)
Leon
Leon on 16 Mar 2021
Commented: Leon on 16 Mar 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.

Accepted Answer

Fangjun Jiang
Fangjun Jiang on 16 Mar 2021
a=uicontrol;
a.String='load'
a.String='plot'
  3 Comments

Sign in to comment.

More Answers (0)

Products


Release

R2020b

Community Treasure Hunt

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

Start Hunting!