gui and work space data sharing
1 回表示 (過去 30 日間)
古いコメントを表示
how to attache data from work space to gui
2 件のコメント
Image Analyst
2012 年 7 月 1 日
You do know that there can be several workspaces, right? The base workspace, and then each function will have it's own local workspace.
採用された回答
Luffy
2012 年 7 月 6 日
If you want to access data that is in base workspace in your gui functions,
use
v = evalin('base','name of variable u want to access');
% the variable's data is now stored in v.
If u want to save data of ur gui work space to base,use
assignin('base','name of variable u want to save','value of variable');
0 件のコメント
その他の回答 (1 件)
Image Analyst
2012 年 7 月 1 日
Several ways are shared in the FAQ: http://matlab.wikia.com/wiki/FAQ#How_can_I_share_data_between_callback_functions_in_my_GUI.28s.29.3F
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で MATLAB Report Generator についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!