Info
This question is closed. Reopen it to edit or answer.
Why Does the Field Get Unexpectedly Deleted?
1 view (last 30 days)
Show older comments
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 Comments
Answers (0)
This question is closed.
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!