GUI simple dropdown menu

3 views (last 30 days)
Thomas Pierce
Thomas Pierce on 16 Apr 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...

Answers (0)

Categories

Find more on Interactive Control and Callbacks in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!