Info

Questa domanda è chiusa. Riaprila per modificarla o per rispondere.

Why Does the Field Get Unexpectedly Deleted?

3 visualizzazioni (ultimi 30 giorni)
Rightia Rollmann
Rightia Rollmann il 16 Mar 2017
Chiuso: MATLAB Answer Bot il 20 Ago 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

Risposte (0)

Community Treasure Hunt

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

Start Hunting!

Translated by