I need help with my GUI, getting the pop-up menu to relate to a radio button and then a user input to convert a measurement.

Hello gurus,
So I've written a conversion program that works well as a text-based user interface, but now we're required to convert it to a GUI. I've never worked with them before and am overseas so I'm missing the classes on this topic.
My design has a pop-up menu that the user selects the unit type to be converted; Inches/Cm, Miles/Km, Gallons/Litres, etc. Then radio buttons to define whether they are converting to Metric or Imperial. Finally, the Input box for their measurement to be converted.
I'm not sure where to put the code so that these all link together and that the type selected from the pop-up and radio options changes the unit displayed in static text.
Hopefully I can get this done and enjoy Vietnam rather than pull my hair out in the hotel half the days!
Thanks

Answers (2)

Hi James,
Have you checked GUIDE in MATLAB? Please have a look at the below documentation example. This could give you a fair idea about using GUIDE for your application:
Hope this helps
Thanks,
Nikhil

Categories

Find more on App Building in Help Center and File Exchange

Asked:

on 21 Apr 2017

Answered:

Jan
on 24 Apr 2017

Community Treasure Hunt

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

Start Hunting!