Is it posible to add some sort of listbox/button that adds a figure in the program?
1 次查看(过去 30 天)
显示 更早的评论
Hi,
I wanna know if it's possible to create a button or listbox or any other component that let you create a figure through app design in the app itself?
I want a program where you need to introduce some inputs, but depending on your business you'll need to introduce from 2 up to 10 values. I can add 10 figures and let the rest be blank spaces if they only need 2 or 3 of them, but I wanna know if there is a better way to deal with this.
Thank you very much.
2 个评论
Jan
2017-10-13
The question is unclear. A button or a listbox or any other component. Please narrow this down. I do not understand: "create a figure through app design in the app itself".
What is "introduce some inputs" exactly? What is the "rest", which is left blank? Actually it sounds like you are looking for a simple listdlg.
回答(2 个)
Stephen
2017-10-13
Rather than have the code "create" the additional boxes, you'd probably be better off building a GUI with all 10 of the input boxes you want and then setting the 'Visible' property of a number of the boxes to 'off'. Then program a popup to control the number of visible boxes per user input. Your solve button would then access the setting of the popup to determine which boxes have values that need to be added.
Image Analyst
2017-10-13
Try MAGIC. It's a good framework to start with.
This GUI will help the novice user get up to speed very quickly on using GUI-based applications. Everything is laid out in a very simple Step 1, Step 2, Step 3, etc. layout. It is a very good starting point for a typical image analysis application. This application uses GUIDE to do the user interface design, and has most of the basic controls such as buttons, listboxes, checkboxes, radio buttons, scrollbars, etc. It allows the user to select a folder of images, select one or more images and display them, to select a series of options, and to individually or batch process one or more images. The user can.....etc.
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!