how to prepare a gui

1 visualizzazione (ultimi 30 giorni)
math search
math search il 29 Mag 2014
Risposto: math search il 2 Giu 2014
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?

Risposte (4)

Image Analyst
Image Analyst il 29 Mag 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. ..........................

Adam
Adam il 29 Mag 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

math search
math search il 29 Mag 2014
I have downloaded the compressed folder magic_gui now how will I preceed? What file should I first run?

math search
math search il 2 Giu 2014
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.

Categorie

Scopri di più su Environment and Settings in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by