How to display on GUI?
조회 수: 5 (최근 30일)
이전 댓글 표시
How to display user defined string value using input dialogue on the gui,,, suppose user enters some string,,,and it will come to workspace,,,and i want to show those user defined string on the GUI
댓글 수: 0
답변 (1개)
Image Analyst
2013년 2월 11일
First of all, look at Doug Hull's blogs on making GUIs. http://blogs.mathworks.com/videos/category/gui-or-guide/
The answer to your question is to make up a string, say with sprintf(), then use set() to send it to the text label control:
set(handles.text1, 'String', yourString);
참고 항목
카테고리
Help Center 및 File Exchange에서 Entering Commands에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!