Is it possible to collect input parameters with a GUI window?
1 次查看(过去 30 天)
显示 更早的评论
I need a checkbox, a string input, a selection from a list, a folder selection, and a done button. Are there any flexible methode to do this?
0 个评论
回答(2 个)
Walter Roberson
2017-12-29
That all is too complicated together for MATLAB to offer a single "simple" method. You can build a UI for that: create a figure and put the various controls and callbacks inside it.
Jan
2017-12-29
You can create such a GUI using GUIDE or programmatically. For the latter see https://www.mathworks.com/matlabcentral/fileexchange/24861-41-complete-gui-examples. Further examples from the FileExchange:
- https://www.mathworks.com/matlabcentral/fileexchange/26312-settings-dialog
- https://www.mathworks.com/matlabcentral/fileexchange/25862-inputsdlg--enhanced-input-dialog-box
- https://www.mathworks.com/matlabcentral/fileexchange/26817-simple-settings-dialog
- https://www.mathworks.com/matlabcentral/fileexchange/14583-uicomponent-expands-uicontrol-to-all-java-classes
- etc. Search by your own also...
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!