how to prepare a gui
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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 commentaires
Réponses (4)
Image Analyst
le 29 Mai 2014
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 commentaires
Adam
le 29 Mai 2014
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 commentaires
Voir également
Catégories
En savoir plus sur Environment and Settings dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!