Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

Why Does the Field Get Unexpectedly Deleted?

조회 수: 2 (최근 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