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.
1 回表示 (過去 30 日間)
古いコメントを表示
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
0 件のコメント
回答 (2 件)
Nikhil Sreekumar
2017 年 4 月 24 日
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
0 件のコメント
Jan
2017 年 4 月 24 日
Either use GUIDE, or create the GUI programmatically. For the latter case see: FEX: 41 GUI examples.
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Migrate GUIDE Apps についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!