problem with the previous data in matlab gui
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
I am working on matlab gui. how to delete previous data that is stored in the gui variable? like clear in command window, is there anything like that in gui
0 Kommentare
Antworten (1)
Jan
am 31 Okt. 2017
What is "the gui variable"? Do you mean the handles struct? Then:
handles.yourData = [];
guidata(hObject, handles);
Or
handles = rmfield(handles, 'yourData');
guidata(hObject, handles);
Or perhaps some persistent variables?
For a more precise answer, explain, how you store the variables.
4 Kommentare
Franck paulin Ludovig pehn Mayo
am 18 Okt. 2021
@Jan i did 3 days ago but so far no answer.Below is the link of my question.
Thank you i look forward to hearing from you soon.
Jan
am 19 Okt. 2021
@Franck paulin Ludovig pehn Mayo: This is a link to edit the new question. The working link:
Siehe auch
Kategorien
Mehr zu Get Started with MATLAB finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!