How to clear getappdata setappdata variables or workspace?
이전 댓글 표시
How to clear getappdata setappdata variables or workspace? I am using getappdata and setappdata in callback functions, but it is not clearing when I rerun script? How to clear that workspace?
답변 (1개)
Adam
2016년 9월 2일
Did you look at the help pages?
The 'See Also' section links to
doc rmappdata
댓글 수: 6
Vishal Kulkarni
2016년 9월 2일
Adam
2016년 9월 2일
Which graphics object are you setting the data on? IF you set it on any object other than groot it will clear automatically when that graphics object is deleted.
Vishal Kulkarni
2016년 9월 12일
Adam
2016년 9월 12일
Whether you are using it for graphics objects or not as far as I am aware setappdata requires the handle of some graphics object as its first argument and that is what it attaches the data to.
Vishal Kulkarni
2016년 9월 13일
카테고리
도움말 센터 및 File Exchange에서 Startup and Shutdown에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!