Help with edit text GUI
조회 수: 2 (최근 30일)
이전 댓글 표시
Hi! I created a Matlab GUI , where an 'Edit text' command is placed. It is initially empty. At a certain point, when I load a number, it is visualized in this 'Edit text' box, with a command like this
set(handles.edit3,'String',num)
where 'num' is the variable associated to the number. Then, when I press another button, I want this Edit text box to be empty again . How can I set this instruction ?
댓글 수: 0
채택된 답변
Ben11
2014년 8월 25일
At the beginning of this button's callback, use something like this:
set(handles.edit3,'String','')
which displays an empty string
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Migrate GUIDE Apps에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!