GUI simple dropdown menu
조회 수: 8 (최근 30일)
이전 댓글 표시
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...
댓글 수: 0
답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Interactive Control and Callbacks에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!