problem with the previous data in matlab gui
2 ビュー (過去 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 で Get Started with MATLAB についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!