problem with the previous data in matlab gui
1 次查看(过去 30 天)
显示 更早的评论
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 个评论
回答(1 个)
Jan
2017-10-31
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 个评论
Franck paulin Ludovig pehn Mayo
2021-10-18
@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
2021-10-19
@Franck paulin Ludovig pehn Mayo: This is a link to edit the new question. The working link:
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Develop Apps Using App Designer 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!