how to prepare a gui
조회 수: 1 (최근 30일)
이전 댓글 표시
Hi, I try to learn how to prepare a gui in the matlab.First I go to hometab, new, graphical user interface. When I finished it there is function varargout = file name (varargir) ...
what is this. How can I understand it. How should I go ahead?
댓글 수: 0
답변 (4개)
Image Analyst
2014년 5월 29일
Try a framework that is already built up with the basic stuff you need to get started (listboxes, radio buttons, etc.): http://www.mathworks.com/matlabcentral/fileexchange/24224-magic-matlab-generic-imaging-component
Description
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 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. ..........................
댓글 수: 0
Adam
2014년 5월 29일
Hi, your question is quite broad. I would recommend you to watch some video tutorials or documentations.
or try google "matlab gui tutorial"
PS: To answer your question, that function you mentioned is your GUI (if you Run it, you should see what you have built). File name is the name of your GUI (same as you save it - the name of m-file). Varargout and varargin are "Variable length output argument list" and "Variable length input argument list", as you can see in the Matlab Help.
Adam
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Environment and Settings에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!