setappdata
조회 수: 3 (최근 30일)
이전 댓글 표시
Hi, I have the problem with setappdata, can I use that metod outside GUI? In my own function?
Thanks for help:)
댓글 수: 0
답변 (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');
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!