How to change the button names depending on different situations?

조회 수: 8 (최근 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
Leon
Leon 2021년 3월 16일
It works. Many thanks.

댓글을 달려면 로그인하십시오.

추가 답변 (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