Is it possible to collect input parameters with a GUI window?
8 ビュー (過去 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 で File Operations についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!