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에서 File Operations에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!