MATLAB: Gui and work space data sharing

gui

how to attache data from work space to gui

Best Answer

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');