Filter löschen
Filter löschen

how to design a form that pops up in a dialog box.

1 Ansicht (letzte 30 Tage)
sanky kumar
sanky kumar am 11 Sep. 2013
the form consists of questions like "what is your name:" please let me know the code!
  1 Kommentar
Jan
Jan am 12 Sep. 2013
This is a very vague answer only. It is not clear, what you mean by "form", what you have tried so far and which problems occurred. How could we create code which matches your needs then? When should the form pop up? Do you use GUIDE or create the GUI by a program?

Melden Sie sich an, um zu kommentieren.

Antworten (2)

Walter Roberson
Walter Roberson am 11 Sep. 2013
Have you looked in the File Exchange, at the 41 Example GUI contributions?
  2 Kommentare
sanky kumar
sanky kumar am 11 Sep. 2013
i'm sorry, i don't understand!
Jan
Jan am 12 Sep. 2013
Click on the link "FileExchange" on this page. Then insert the terms "41 Example GUI" in the search field. You will find Matt Fig's excellent examples for creating GUIs.

Melden Sie sich an, um zu kommentieren.


Image Analyst
Image Analyst am 12 Sep. 2013
For something simple like that, I use inputdlg(). Look in the help for useful examples, like:
prompt = {'Enter matrix size:','Enter colormap name:'};
dlg_title = 'Input';
num_lines = 1;
def = {'20','hsv'};
answer = inputdlg(prompt,dlg_title,num_lines,def);

Kategorien

Mehr zu Migrate GUIDE Apps finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by