How to change the button names depending on different situations?

7 ビュー (過去 30 日間)
Leon
Leon 2021 年 3 月 16 日
コメント済み: Leon 2021 年 3 月 16 日
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 件のコメント
Fangjun Jiang
Fangjun Jiang 2021 年 3 月 16 日
app.A.Text
Leon
Leon 2021 年 3 月 16 日
It works. Many thanks.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeDevelop 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