How to change the button names depending on different situations?

6 次查看(过去 30 天)
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.

采纳的回答

Fangjun Jiang
Fangjun Jiang 2021-3-16
a=uicontrol;
a.String='load'
a.String='plot'
  3 个评论

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Develop Apps Using App Designer 的更多信息

产品


版本

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by