필터 지우기
필터 지우기

App Designer: Drop down menu values

조회 수: 12 (최근 30일)
Ryan Browning
Ryan Browning 2017년 11월 10일
댓글: rajatajay thakur 2020년 6월 28일
I have a drop down menu with 10 different options. I need a statement that will give me different values based on the option picked. I know it is probably really straight forward and easy, but i just don't get it.

답변 (1개)

ES
ES 2017년 11월 10일
Get the value of the selected option from drop down menu callback using Value property.
Value will be the index of selected option.
Using this Value property, you can index and select from your list of values.
  댓글 수: 5
Robert Pritchard
Robert Pritchard 2019년 4월 2일
Me too lol. what are the chances 2 people who need this stumbled upon it a year and half later on the same day
rajatajay thakur
rajatajay thakur 2020년 6월 28일
What if I have images like peppers or cameraman in that option and I need to display that image on axes when selected please help

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

카테고리

Help CenterFile Exchange에서 Interactive Control and Callbacks에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by