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?

 Accepted Answer

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

More Answers (0)

Categories

Community Treasure Hunt

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

Start Hunting!