setappdata
古いコメントを表示
Hi, I have the problem with setappdata, can I use that metod outside GUI? In my own function?
Thanks for help:)
回答 (1 件)
Sean de Wolski
2011 年 12 月 20 日
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 件のコメント
Walter Roberson
2011 年 12 月 20 日
Interesting, that does work even with -nojvm
カテゴリ
ヘルプ センター および File Exchange で Image Processing Toolbox についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!