How to clear getappdata setappdata variables or workspace?
Mostra commenti meno recenti
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?
Risposte (1)
Adam
il 2 Set 2016
Did you look at the help pages?
The 'See Also' section links to
doc rmappdata
6 Commenti
Vishal Kulkarni
il 2 Set 2016
Adam
il 2 Set 2016
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
il 12 Set 2016
Stephen23
il 12 Set 2016
Adam
il 12 Set 2016
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
il 13 Set 2016
Categorie
Scopri di più su Startup and Shutdown in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!