link between edit text 1 and 2 when puch button has click
조회 수: 13 (최근 30일)
이전 댓글 표시
채택된 답변
Sara
2014년 5월 13일
in the edit1 callback save the variable inputted by the user in a variable:
handles.myvar = get(handles.edit1,'string');
guidata(hObject, handles);
in the pushbutton callback put:
set(handles.edit2,'string',handles.myvar)
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Interactive Control and Callbacks에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
