GUI simple dropdown menu

8 visualizaciones (últimos 30 días)
Thomas Pierce
Thomas Pierce el 16 de Abr. de 2012
Really struggling to link my data to my dropdown box
If I have a program that is has 12 tile cases that are titled with numbers and I want to have a dropdown menu that one can select each case the number of the case is then used in a program which runs another program using that tile number as its case.
So I need to retrieve the users tile selection and then run it in another program what would be a hint at the code beneath the function?? do I type out each case name and then type RUN my file with its variables and such??
Also, If I the program that runs normally just displays one number (the required tile thickness) how would I display this in a textbox or in anything on the gui
Lastly, once they have chosen the tile case can they just hit enter or do I need to create a run button. \
Cheers
Tom
P.s one last issue is with displaying an image on my gui, I have been trawling the internet and the code I put in is
axes(handles.axes3); axes off imshow('Alltiles.tiff')
Which is a picture of the position of all the different tiles.
But it just displys a blank axes with the axis still labelled...

Respuestas (0)

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