Effacer les filtres
Effacer les filtres

problem with the previous data in matlab gui

2 vues (au cours des 30 derniers jours)
sai kumar
sai kumar le 31 Oct 2017
Commenté : Jan le 19 Oct 2021
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

Réponses (1)

Jan
Jan le 31 Oct 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 commentaires
Franck paulin Ludovig pehn Mayo
@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.

Connectez-vous pour commenter.

Catégories

En savoir plus sur Get Started with MATLAB dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by