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?

 采纳的回答

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

更多回答(0 个)

类别

在 帮助中心 和 File Exchange 中查找有关 Language Support 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by