setappdata
3 views (last 30 days)
Show older comments
Hi, I have the problem with setappdata, can I use that metod outside GUI? In my own function?
Thanks for help:)
0 Comments
Answers (1)
Sean de Wolski
on 20 Dec 2011
set to the root directory and you can access from anywhere even after the gui figure is closed.
set(0,'mydata',magic(4));
from anywhere
my_data = getappdata(0,'mydata');
1 Comment
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!