Edittext as input, toggle button to proceed

I have an edittext button which will be the user input and want to use a toggle button to proceed to the next toggle button for output. How can I do this?

 Risposta accettata

function toggle1_Callback(hObject, eventdata, handles)
input_text = get(handles.editbox1, 'String');
set(handles.toggle2, 'String', input_text);

Più risposte (0)

Community Treasure Hunt

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

Start Hunting!

Translated by