필터 지우기
필터 지우기

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

조회 수: 1 (최근 30일)
sanky kumar
sanky kumar 2013년 9월 11일
the form consists of questions like "what is your name:" please let me know the code!
  댓글 수: 1
Jan
Jan 2013년 9월 12일
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?

댓글을 달려면 로그인하십시오.

답변 (2개)

Walter Roberson
Walter Roberson 2013년 9월 11일
Have you looked in the File Exchange, at the 41 Example GUI contributions?
  댓글 수: 2
sanky kumar
sanky kumar 2013년 9월 11일
i'm sorry, i don't understand!
Jan
Jan 2013년 9월 12일
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.

댓글을 달려면 로그인하십시오.


Image Analyst
Image Analyst 2013년 9월 12일
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);

카테고리

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