필터 지우기
필터 지우기

how to prepare a gui

조회 수: 3 (최근 30일)
math search
math search 2014년 5월 29일
답변: math search 2014년 6월 2일
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?

답변 (4개)

Image Analyst
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. ..........................

Adam
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

math search
math search 2014년 5월 29일
I have downloaded the compressed folder magic_gui now how will I preceed? What file should I first run?

math search
math search 2014년 6월 2일
I have entered in the folder of imdemos then I select all by ctrl + A but know I do not understand what should I do. I ignored the optional step but can not go through step 4.
Please help,
Have a nice day.

카테고리

Help CenterFile Exchange에서 Migrate GUIDE Apps에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by