при присваивании кнопки pushbutton​1_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 ExchangeEntering Commands についてさらに検索

質問済み:

2020 年 4 月 29 日

コメント済み:

2020 年 4 月 29 日

Community Treasure Hunt

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

Start Hunting!

Translated by