필터 지우기
필터 지우기

How do I display initial value of popup menu at GUI launch?

조회 수: 3 (최근 30일)
Matt Brown
Matt Brown 2015년 10월 16일
댓글: Geoff Hayes 2015년 10월 16일
I am able to call up whatever value is shown after an initial selection, but the default value is still not getting used at launch. I have boiled this down to a much simpler GUI that basically displays whatever selection you have. What I would like to be able to do is have this display 'A' when the program launches, then A, B, C or D once they are selected from the popup menu.
See attached help.m file.
What am I piece of this puzzle am I missing?
  댓글 수: 2
Adam
Adam 2015년 10월 16일
You forgot to attach your file.
You should just need to set the 'String' to { 'A', 'B', 'C', 'D' } and the 'Value' to 1 on creating your popup and that will show 'A' when it initialises.

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

답변 (0개)

카테고리

Help CenterFile Exchange에서 Environment and Settings에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by