how to prepare a gui

1 回表示 (過去 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 Center および File ExchangeEnvironment and Settings についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by