How to save data in guide

2 次查看(过去 30 天)
Hello All,
would you be so kind, can you help me resolve my problem? I dont know how to save data, which I have loaded into uitable in guide. I need analyze these data...I need access to data after closing figure...:( My uitable contains about 80 000 rows.
  4 个评论
Geoff Hayes
Geoff Hayes 2015-11-7
编辑:Geoff Hayes 2015-11-7
Since the data is from a file, then you already have access to it even after the GUI has closed. I don't understand why you feel that you somehow need to save it the workspace or perhaps a mat file if you already have the data.
Radoslav Vandzura
Radoslav Vandzura 2015-11-8
But I dont want to save it on my desktop (or directory), I want to save it in Matlab memory because I want to close actual figure and I want to open new figure where I will analyze data (call the variables, data).
I create aplication in guide which is designed for data mining (data analysis) and it consists from many figures. Every figure is for different part of analysis, first figure is for data loading and saving. Next figure is for cleaning the data, next is for visualization and so on. So I need to access to data all the time. Do you understand? :)

请先登录,再进行评论。

采纳的回答

Image Analyst
Image Analyst 2015-11-7
If you've closed the figure, any data stored in the figure is lost. The only way to get it again is to write it to a file. You can use xlswrite, dlmwrite(), fprintf(), save(), or a bunch of other ways.
  7 个评论
Image Analyst
Image Analyst 2015-11-8
I don't understand. The code does not depend on whether you have many or few rows. And it does do operations - you saw how I called the max() operation. Do you still have a problem with the code? If so, let's see it.
Radoslav Vandzura
Radoslav Vandzura 2015-11-11
编辑:Radoslav Vandzura 2015-11-11
I would like to show in graph variables which I have loaded into GUIDE (through button Load). After loading data, names of columns are in pop-up menu. But when I select some name of columns nothing is shown in graph, any axes.....I would like to do it due to analysis which i will do...but I dont know it is stored somewhere or not....because after pressing start, only one variable (ans) is shown in workspace and it is empty....I dont know why....and I think it is a reason why axes arent shown ....

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Environment and Settings 的更多信息

标签

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by