Borrar filtros
Borrar filtros

Issue using DropDown List

1 visualización (últimos 30 días)
Jucimar Carpe
Jucimar Carpe el 4 de Mayo de 2019
Editada: Jucimar Carpe el 4 de Mayo de 2019
Hi all!
I'm trying to inniciate a simple program on the app designer feature but i'm facing some issues on the basics. I'm used to use the old tool GUIDE but know seems to be so different...
I was able to create a DropDown list with 3 options, and now i want to display in a EditField box differents values for each option choiced how can i do this?
Here'is the code i've been writing but it's not working...
function escolha_curtoValueChanged(app, event)
value = app.escolha_curto.Value
if value == 1
app.resposta.Value=1;
elseif value == 2
app.resposta.Value=2;
else
app.resposta.Value=3;
end

Respuestas (0)

Categorías

Más información sobre Develop Apps Using App Designer en Help Center y File Exchange.

Etiquetas

Productos


Versión

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by