How to change the button names depending on different situations?

5 views (last 30 days)
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)

Categories

Find more on Develop Apps Using App Designer in Help Center and File Exchange

Products


Release

R2020b

Community Treasure Hunt

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

Start Hunting!