problem with the previous data in matlab gui

1 visualización (últimos 30 días)
sai kumar
sai kumar el 31 de Oct. de 2017
Comentada: Jan el 19 de Oct. de 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

Respuestas (1)

Jan
Jan el 31 de Oct. de 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 comentarios
Franck paulin Ludovig pehn Mayo
Franck paulin Ludovig pehn Mayo el 18 de Oct. de 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.

Iniciar sesión para comentar.

Categorías

Más información sobre Develop Apps Using App Designer en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by