link between edit text 1 and 2 when puch button has click

 Akzeptierte Antwort

Sara
Sara am 13 Mai 2014
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)

Weitere Antworten (0)

Kategorien

Tags

Gefragt:

am 13 Mai 2014

Kommentiert:

am 14 Mai 2014

Community Treasure Hunt

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

Start Hunting!

Translated by