|
Im in the middle of writing a GUI that operates on a big data set. Once the gui launches it asks the user to load a data set (mat file). The GUI loads this data and plots some statistics and asks the user to make some edits. Finally, once the user deletes a few outliers the statistics are recomputed and plots updated.
My question is: What is the optimal way to store the data in the GUI? Right now im storing the huge data set in handles as guidata. For example
dataSet = handles.dataSet;
% make some edits
handles.dataSet = dataSet
guidata(...)
However, the program is pretty sluggish when the dataSet get's big (>100Mb).
Im reading the documentation about ways to share data between gui's etc and im just wondering what is the preferred/most efficient way to go about this?
Should I use guidata, appdata or userdata???
Thanks!
|