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!