при присваивании кнопки pushbutton1_Callback(hObject, eventdata, handles) выдает ряд ошибок
显示 更早的评论
% --- Executes on button press in pushbutton1.
function pushbutton1_Callback(hObject, eventdata, handles)
% hObject handle to pushbutton1 (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
a=get(handles.edit3, 'String');
a=str2double(a);
b=get(handles.edit4, 'String');
b=str2double(b);
c=a+b;
set(handles.edit5, 'String', edit5);
回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Entering Commands 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
