Info

この質問は閉じられています。 編集または回答するには再度開いてください。

Why Does the Field Get Unexpectedly Deleted?

1 ビュー (過去 30 日間)
Rightia Rollmann
Rightia Rollmann 2017 年 3 月 16 日
終了済み: MATLAB Answer Bot 2021 年 8 月 20 日
I have made a GUI in GUIDE. When myfun1 gets executed inside myfun2, suddenly field A gets deleted from variable handles.
WHY? What is the solution?
function myfun1(hObject, eventdata, handles)
handles.A = 1;
guidata(hObject, handles);
end
function myfun2(hObject, eventdata, handles)
myfun1(hObject, eventdata, handles);
end

回答 (0 件)

Community Treasure Hunt

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

Start Hunting!

Translated by