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에서 Get Started with MATLAB에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!