Info

Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.

Why Does the Field Get Unexpectedly Deleted?

2 Ansichten (letzte 30 Tage)
Rightia Rollmann
Rightia Rollmann am 16 Mär. 2017
Geschlossen: MATLAB Answer Bot am 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);
end
function myfun2(hObject, eventdata, handles)
myfun1(hObject, eventdata, handles);
end

Antworten (0)

Community Treasure Hunt

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

Start Hunting!

Translated by