Clear Filters
Clear Filters


This question is closed. Reopen it to edit or answer.

Why Does the Field Get Unexpectedly Deleted?

2 views (last 30 days)
Rightia Rollmann
Rightia Rollmann on 16 Mar 2017
Closed: MATLAB Answer Bot on 20 Aug 2021
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);
function myfun2(hObject, eventdata, handles)
myfun1(hObject, eventdata, handles);

Answers (0)

This question is closed.

Community Treasure Hunt

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

Start Hunting!