Thread Subject: GUI Data Persistence

Subject: GUI Data Persistence

From: Abel Brown

Date: 3 Sep, 2009 15:18:02

Message: 1 of 1

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!

Tags for this Thread

Add a New Tag:

Separated by commas
Ex.: root locus, bode

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

rssFeed for this Thread

Contact us at files@mathworks.com