<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.3.1" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	>
<channel>
	<title>Comments on: Video series: Reading Excel data into MATLAB with a GUI</title>
	<link>http://blogs.mathworks.com/pick/2007/08/13/video-series-reading-excel-data-into-matlab-with-a-gui/</link>
	<description>&#60;a href="http://www.mathworks.com/matlabcentral/fileexchange/loadAuthor.do?objectId=969735&#38;objectType=author"&#62;Bob&#60;/a&#62;, &#60;a href="http://www.mathworks.com/matlabcentral/fileexchange/loadAuthor.do?objectId=1093599&#38;objectType=author"&#62;Brett&#60;/a&#62; &#38; &#60;a href="http://www.mathworks.com/matlabcentral/fileexchange/loadAuthor.do?objectId=1094142&#38;objectType=author"&#62;Jiro&#60;/a&#62; share favorite user-contributed submissions from the File Exchange.</description>
	<pubDate>Sun, 08 Nov 2009 03:57:41 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.3.1</generator>
		<item>
		<title>By: Doug</title>
		<link>http://blogs.mathworks.com/pick/2007/08/13/video-series-reading-excel-data-into-matlab-with-a-gui/#comment-13273</link>
		<dc:creator>Doug</dc:creator>
		<pubDate>Mon, 19 Oct 2009 18:00:46 +0000</pubDate>
		<guid>http://blogs.mathworks.com/pick/2007/08/13/video-series-reading-excel-data-into-matlab-with-a-gui/#comment-13273</guid>
		<description>@Kirsten,

What part are you talking about?  How to read in a another column, or how to use another input to scatter (or scatter3)

Doug</description>
		<content:encoded><![CDATA[<p>@Kirsten,</p>
<p>What part are you talking about?  How to read in a another column, or how to use another input to scatter (or scatter3)</p>
<p>Doug</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kirsten Miles</title>
		<link>http://blogs.mathworks.com/pick/2007/08/13/video-series-reading-excel-data-into-matlab-with-a-gui/#comment-13272</link>
		<dc:creator>Kirsten Miles</dc:creator>
		<pubDate>Fri, 16 Oct 2009 19:20:22 +0000</pubDate>
		<guid>http://blogs.mathworks.com/pick/2007/08/13/video-series-reading-excel-data-into-matlab-with-a-gui/#comment-13272</guid>
		<description>How can I do this if I have a third column, a z variable that I want to show in a scatter?</description>
		<content:encoded><![CDATA[<p>How can I do this if I have a third column, a z variable that I want to show in a scatter?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Atschau</title>
		<link>http://blogs.mathworks.com/pick/2007/08/13/video-series-reading-excel-data-into-matlab-with-a-gui/#comment-13236</link>
		<dc:creator>Atschau</dc:creator>
		<pubDate>Thu, 10 Sep 2009 07:52:03 +0000</pubDate>
		<guid>http://blogs.mathworks.com/pick/2007/08/13/video-series-reading-excel-data-into-matlab-with-a-gui/#comment-13236</guid>
		<description>make sure beforing writing xlsread('filename') syntax, that the file exists in the current diretory, otherwise prompt out warning ,like ??? Error using==&#62;xlsread File not found.</description>
		<content:encoded><![CDATA[<p>make sure beforing writing xlsread(&#8217;filename&#8217;) syntax, that the file exists in the current diretory, otherwise prompt out warning ,like ??? Error using==&gt;xlsread File not found.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Doug</title>
		<link>http://blogs.mathworks.com/pick/2007/08/13/video-series-reading-excel-data-into-matlab-with-a-gui/#comment-13181</link>
		<dc:creator>Doug</dc:creator>
		<pubDate>Wed, 17 Jun 2009 18:13:29 +0000</pubDate>
		<guid>http://blogs.mathworks.com/pick/2007/08/13/video-series-reading-excel-data-into-matlab-with-a-gui/#comment-13181</guid>
		<description>Tony,

When you say the .MAT file has 984 files, you mean it has the *names* of the files.

So the real problem is that you have data in a callback in a GUI, and you are not able to pass said data to another function inside the same GUI.  The fact that it came from a file originally is not particularly important.

I think that this video on GETAPPDATA and SETAPPDATA should be of interest to you.
http://blogs.mathworks.com/videos/2005/10/03/guide-video-part-two/

Depending on what you are doing with the data, and the file sizes, you might be better off just loading the data from file inside of any given callback when needed.

Doug</description>
		<content:encoded><![CDATA[<p>Tony,</p>
<p>When you say the .MAT file has 984 files, you mean it has the *names* of the files.</p>
<p>So the real problem is that you have data in a callback in a GUI, and you are not able to pass said data to another function inside the same GUI.  The fact that it came from a file originally is not particularly important.</p>
<p>I think that this video on GETAPPDATA and SETAPPDATA should be of interest to you.<br />
<a href="http://blogs.mathworks.com/videos/2005/10/03/guide-video-part-two/" rel="nofollow">http://blogs.mathworks.com/videos/2005/10/03/guide-video-part-two/</a></p>
<p>Depending on what you are doing with the data, and the file sizes, you might be better off just loading the data from file inside of any given callback when needed.</p>
<p>Doug</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tony Silva</title>
		<link>http://blogs.mathworks.com/pick/2007/08/13/video-series-reading-excel-data-into-matlab-with-a-gui/#comment-13180</link>
		<dc:creator>Tony Silva</dc:creator>
		<pubDate>Wed, 17 Jun 2009 17:58:44 +0000</pubDate>
		<guid>http://blogs.mathworks.com/pick/2007/08/13/video-series-reading-excel-data-into-matlab-with-a-gui/#comment-13180</guid>
		<description>Doug,

 Sorry if I didn't explain well my problem. I'm analyzing bearing data and I have a MAT file that contains 984 files saved in a structure called dataset. Therefore, if I want to analyze the data from file #5 for example, in a normal M-code I just need to do the following:

load test2.mat  % the name of the MAT file is test2

d=dataset(5);
d=load(fullfile(d.pathname, d.filename));

Then d contains all the data that correspond to the file #5. But now I have a GUI and in the M-code I'm trying to load the same MAT file in order to analyze the data and I couldn't. I just want to extract all the data files from the MAT file. I hope this helps

Thank you very much

Tony Silva</description>
		<content:encoded><![CDATA[<p>Doug,</p>
<p> Sorry if I didn&#8217;t explain well my problem. I&#8217;m analyzing bearing data and I have a MAT file that contains 984 files saved in a structure called dataset. Therefore, if I want to analyze the data from file #5 for example, in a normal M-code I just need to do the following:</p>
<p>load test2.mat  % the name of the MAT file is test2</p>
<p>d=dataset(5);<br />
d=load(fullfile(d.pathname, d.filename));</p>
<p>Then d contains all the data that correspond to the file #5. But now I have a GUI and in the M-code I&#8217;m trying to load the same MAT file in order to analyze the data and I couldn&#8217;t. I just want to extract all the data files from the MAT file. I hope this helps</p>
<p>Thank you very much</p>
<p>Tony Silva</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Doug</title>
		<link>http://blogs.mathworks.com/pick/2007/08/13/video-series-reading-excel-data-into-matlab-with-a-gui/#comment-13179</link>
		<dc:creator>Doug</dc:creator>
		<pubDate>Tue, 16 Jun 2009 18:07:07 +0000</pubDate>
		<guid>http://blogs.mathworks.com/pick/2007/08/13/video-series-reading-excel-data-into-matlab-with-a-gui/#comment-13179</guid>
		<description>@tony,

I am not sure I understand your question.  I am not sure how a .mat file can contain 50 files.

In the above code, the second line overwrites the value of d with load.  If that is what you want, it is OK.  This may be why your d.pathname structure is being unrecognized.  Set some breakpoints there and confirm that d is what you think it is.

Doug</description>
		<content:encoded><![CDATA[<p>@tony,</p>
<p>I am not sure I understand your question.  I am not sure how a .mat file can contain 50 files.</p>
<p>In the above code, the second line overwrites the value of d with load.  If that is what you want, it is OK.  This may be why your d.pathname structure is being unrecognized.  Set some breakpoints there and confirm that d is what you think it is.</p>
<p>Doug</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tony Silva</title>
		<link>http://blogs.mathworks.com/pick/2007/08/13/video-series-reading-excel-data-into-matlab-with-a-gui/#comment-13178</link>
		<dc:creator>Tony Silva</dc:creator>
		<pubDate>Tue, 16 Jun 2009 01:58:21 +0000</pubDate>
		<guid>http://blogs.mathworks.com/pick/2007/08/13/video-series-reading-excel-data-into-matlab-with-a-gui/#comment-13178</guid>
		<description>Hi Doug,

Can you help me how to load a MAT file in a GUI? 

For example, if I have a MAT file called test2 I can load it using 

load test2.mat 

If the test2.mat file contains 50 files, I can extract all the data of the file #1 using the following:

d=dataset(1);
d=load(fullfile(d.pathname, d.filename));

But this time I created a GUI and into the M-code of the GUI I'm trying to do the same in the Opening Function because I want to load the data at the beginning but I'm getting an error because it does not recognize the structure d.pathname

I appreciate your help !!</description>
		<content:encoded><![CDATA[<p>Hi Doug,</p>
<p>Can you help me how to load a MAT file in a GUI? </p>
<p>For example, if I have a MAT file called test2 I can load it using </p>
<p>load test2.mat </p>
<p>If the test2.mat file contains 50 files, I can extract all the data of the file #1 using the following:</p>
<p>d=dataset(1);<br />
d=load(fullfile(d.pathname, d.filename));</p>
<p>But this time I created a GUI and into the M-code of the GUI I&#8217;m trying to do the same in the Opening Function because I want to load the data at the beginning but I&#8217;m getting an error because it does not recognize the structure d.pathname</p>
<p>I appreciate your help !!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Doug</title>
		<link>http://blogs.mathworks.com/pick/2007/08/13/video-series-reading-excel-data-into-matlab-with-a-gui/#comment-13152</link>
		<dc:creator>Doug</dc:creator>
		<pubDate>Tue, 12 May 2009 16:16:04 +0000</pubDate>
		<guid>http://blogs.mathworks.com/pick/2007/08/13/video-series-reading-excel-data-into-matlab-with-a-gui/#comment-13152</guid>
		<description>@Robert,

Thank you for the kind words.  I think you will be interested in the MATLAB function

PLOTYY

This will help you with your task.

Doug</description>
		<content:encoded><![CDATA[<p>@Robert,</p>
<p>Thank you for the kind words.  I think you will be interested in the MATLAB function</p>
<p>PLOTYY</p>
<p>This will help you with your task.</p>
<p>Doug</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Doug</title>
		<link>http://blogs.mathworks.com/pick/2007/08/13/video-series-reading-excel-data-into-matlab-with-a-gui/#comment-13151</link>
		<dc:creator>Doug</dc:creator>
		<pubDate>Tue, 12 May 2009 16:15:44 +0000</pubDate>
		<guid>http://blogs.mathworks.com/pick/2007/08/13/video-series-reading-excel-data-into-matlab-with-a-gui/#comment-13151</guid>
		<description>@Robert,

Thank you for the kind words.  I think you will be interested in the MATLAB fuction

PLOTYY

This will help you with your task.

Doug</description>
		<content:encoded><![CDATA[<p>@Robert,</p>
<p>Thank you for the kind words.  I think you will be interested in the MATLAB fuction</p>
<p>PLOTYY</p>
<p>This will help you with your task.</p>
<p>Doug</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Robert Edwards</title>
		<link>http://blogs.mathworks.com/pick/2007/08/13/video-series-reading-excel-data-into-matlab-with-a-gui/#comment-13150</link>
		<dc:creator>Robert Edwards</dc:creator>
		<pubDate>Tue, 12 May 2009 15:36:17 +0000</pubDate>
		<guid>http://blogs.mathworks.com/pick/2007/08/13/video-series-reading-excel-data-into-matlab-with-a-gui/#comment-13150</guid>
		<description>I found your demonstration very helpful on how to read Excel into Matlab.  From Excel I’m trying to plot two different data sets against time.  One data set is an order of magnitude bigger than the other so I would like to use two y axes to show both data sets on the same graph.  

Best wishes,

Robert</description>
		<content:encoded><![CDATA[<p>I found your demonstration very helpful on how to read Excel into Matlab.  From Excel I’m trying to plot two different data sets against time.  One data set is an order of magnitude bigger than the other so I would like to use two y axes to show both data sets on the same graph.  </p>
<p>Best wishes,</p>
<p>Robert</p>
]]></content:encoded>
	</item>
</channel>
</rss>
