App Designer: Drop down menu values

16 visualizaciones (últimos 30 días)
Ryan Browning
Ryan Browning el 10 de Nov. de 2017
Comentada: rajatajay thakur el 28 de Jun. de 2020
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.

Respuestas (1)

ES
ES el 10 de Nov. de 2017
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 comentarios
Robert Pritchard
Robert Pritchard el 2 de Abr. de 2019
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 el 28 de Jun. de 2020
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

Iniciar sesión para comentar.

Categorías

Más información sobre Interactive Control and Callbacks en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by