<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: MATLAB Basics: Adding a table to a GUI</title>
	<atom:link href="http://blogs.mathworks.com/pick/2008/05/07/matlab-basics-adding-a-table-to-a-gui/feed/" rel="self" type="application/rss+xml" />
	<link>http://blogs.mathworks.com/pick/2008/05/07/matlab-basics-adding-a-table-to-a-gui/</link>
	<description>&#60;a href=&#34;http://www.mathworks.com/matlabcentral/fileexchange/loadAuthor.do?objectId=1093599&#38;objectType=author&#34;&#62;Brett&#60;/a&#62; &#38; &#60;a href=&#34;http://www.mathworks.com/matlabcentral/fileexchange/loadAuthor.do?objectId=1094142&#38;objectType=author&#34;&#62;Jiro&#60;/a&#62; share favorite user-contributed submissions from the File Exchange.</description>
	<lastBuildDate>Fri, 10 Feb 2012 16:12:39 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Matthew</title>
		<link>http://blogs.mathworks.com/pick/2008/05/07/matlab-basics-adding-a-table-to-a-gui/#comment-14206</link>
		<dc:creator>Matthew</dc:creator>
		<pubDate>Thu, 04 Aug 2011 19:00:24 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/pick/2008/05/07/matlab-basics-adding-a-table-to-a-gui/#comment-14206</guid>
		<description>Doug,

Thank you for your prompt response!

I was, however, able to come up with a suitable solution.
I added a button to go along with the table, appropriately labeled &quot;Paste&quot;. I added the following code to the button callback:

&lt;pre&gt;
raw_data = importdata(&#039;-pastespecial&#039;);

set(handles.input_table,&#039;Data&#039;,raw_data)
&lt;/pre&gt;

Of course, I added code between those two lines to make sure the user is entering numeric data and in the correct size dimensions! :-P

Thanks!</description>
		<content:encoded><![CDATA[<p>Doug,</p>
<p>Thank you for your prompt response!</p>
<p>I was, however, able to come up with a suitable solution.<br />
I added a button to go along with the table, appropriately labeled &#8220;Paste&#8221;. I added the following code to the button callback:</p>
<pre>
raw_data = importdata('-pastespecial');

set(handles.input_table,'Data',raw_data)
</pre>
<p>Of course, I added code between those two lines to make sure the user is entering numeric data and in the correct size dimensions! :-P</p>
<p>Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Doug</title>
		<link>http://blogs.mathworks.com/pick/2008/05/07/matlab-basics-adding-a-table-to-a-gui/#comment-14205</link>
		<dc:creator>Doug</dc:creator>
		<pubDate>Thu, 04 Aug 2011 17:40:04 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/pick/2008/05/07/matlab-basics-adding-a-table-to-a-gui/#comment-14205</guid>
		<description>@Matthew,

I have put in a request for that functionality.  Let us hope that the priority is high enough for it to happen soon!

Doug</description>
		<content:encoded><![CDATA[<p>@Matthew,</p>
<p>I have put in a request for that functionality.  Let us hope that the priority is high enough for it to happen soon!</p>
<p>Doug</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matthew</title>
		<link>http://blogs.mathworks.com/pick/2008/05/07/matlab-basics-adding-a-table-to-a-gui/#comment-14204</link>
		<dc:creator>Matthew</dc:creator>
		<pubDate>Thu, 04 Aug 2011 17:16:20 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/pick/2008/05/07/matlab-basics-adding-a-table-to-a-gui/#comment-14204</guid>
		<description>Hi Doug,

First, your videos are always very useful! Keep up the good work!

Second, the uitable doesn&#039;t allow the user to copy and paste data into the uitable cells from Excel. I would like to have this functionality, but am unsure how to accomplish it.

I am aware that I could prompt the user to select an Excel file and read the data that way, but different users may not have to same Excel sheet formating. A simple copy and paste utility would work wonderfully.

Any suggestions?
Thanks!</description>
		<content:encoded><![CDATA[<p>Hi Doug,</p>
<p>First, your videos are always very useful! Keep up the good work!</p>
<p>Second, the uitable doesn&#8217;t allow the user to copy and paste data into the uitable cells from Excel. I would like to have this functionality, but am unsure how to accomplish it.</p>
<p>I am aware that I could prompt the user to select an Excel file and read the data that way, but different users may not have to same Excel sheet formating. A simple copy and paste utility would work wonderfully.</p>
<p>Any suggestions?<br />
Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chia</title>
		<link>http://blogs.mathworks.com/pick/2008/05/07/matlab-basics-adding-a-table-to-a-gui/#comment-14171</link>
		<dc:creator>Chia</dc:creator>
		<pubDate>Fri, 24 Jun 2011 07:47:24 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/pick/2008/05/07/matlab-basics-adding-a-table-to-a-gui/#comment-14171</guid>
		<description>thank you so much doug..it works.
then I want to display the graphic from network in nntool of matlab into gui again.


best regards,

Chia</description>
		<content:encoded><![CDATA[<p>thank you so much doug..it works.<br />
then I want to display the graphic from network in nntool of matlab into gui again.</p>
<p>best regards,</p>
<p>Chia</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Doug</title>
		<link>http://blogs.mathworks.com/pick/2008/05/07/matlab-basics-adding-a-table-to-a-gui/#comment-13738</link>
		<dc:creator>Doug</dc:creator>
		<pubDate>Thu, 29 Jul 2010 14:06:17 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/pick/2008/05/07/matlab-basics-adding-a-table-to-a-gui/#comment-13738</guid>
		<description>@Pardosi,

Please send reproduction steps to me via e-mail.

Doug</description>
		<content:encoded><![CDATA[<p>@Pardosi,</p>
<p>Please send reproduction steps to me via e-mail.</p>
<p>Doug</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pardosi</title>
		<link>http://blogs.mathworks.com/pick/2008/05/07/matlab-basics-adding-a-table-to-a-gui/#comment-13718</link>
		<dc:creator>Pardosi</dc:creator>
		<pubDate>Mon, 26 Jul 2010 02:00:37 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/pick/2008/05/07/matlab-basics-adding-a-table-to-a-gui/#comment-13718</guid>
		<description>Hello Doug.
Im new to Matlab, using 2009a.

My question, 
why is it if i try get the data from the table, it appears the quote sign (&#039;&#039;) in each element even if i have set the format to be numeric in column option.. str2num doesnt work too.. Maybe filling the table with &#039;workspace data&#039; will do the trick, but i want the table to be empty before user edit/input the table.

thanks.</description>
		<content:encoded><![CDATA[<p>Hello Doug.<br />
Im new to Matlab, using 2009a.</p>
<p>My question,<br />
why is it if i try get the data from the table, it appears the quote sign (&#8221;) in each element even if i have set the format to be numeric in column option.. str2num doesnt work too.. Maybe filling the table with &#8216;workspace data&#8217; will do the trick, but i want the table to be empty before user edit/input the table.</p>
<p>thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Doug</title>
		<link>http://blogs.mathworks.com/pick/2008/05/07/matlab-basics-adding-a-table-to-a-gui/#comment-13660</link>
		<dc:creator>Doug</dc:creator>
		<pubDate>Tue, 13 Jul 2010 19:44:01 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/pick/2008/05/07/matlab-basics-adding-a-table-to-a-gui/#comment-13660</guid>
		<description>@Ricardo,

This video shows how to set the value of data in a UITABLE.  XLSREAD will get the data into MATLAB.  Look in the Excel section of this blog to find videos on how to read the data in from Excel in MATLAB.

Doug</description>
		<content:encoded><![CDATA[<p>@Ricardo,</p>
<p>This video shows how to set the value of data in a UITABLE.  XLSREAD will get the data into MATLAB.  Look in the Excel section of this blog to find videos on how to read the data in from Excel in MATLAB.</p>
<p>Doug</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ricardo</title>
		<link>http://blogs.mathworks.com/pick/2008/05/07/matlab-basics-adding-a-table-to-a-gui/#comment-13659</link>
		<dc:creator>Ricardo</dc:creator>
		<pubDate>Tue, 13 Jul 2010 19:25:01 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/pick/2008/05/07/matlab-basics-adding-a-table-to-a-gui/#comment-13659</guid>
		<description>ah, the table in GUI is only for consulting not to editing.</description>
		<content:encoded><![CDATA[<p>ah, the table in GUI is only for consulting not to editing.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ricardo</title>
		<link>http://blogs.mathworks.com/pick/2008/05/07/matlab-basics-adding-a-table-to-a-gui/#comment-13658</link>
		<dc:creator>Ricardo</dc:creator>
		<pubDate>Tue, 13 Jul 2010 19:22:55 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/pick/2008/05/07/matlab-basics-adding-a-table-to-a-gui/#comment-13658</guid>
		<description>Hi Doug

Thanks for replied. But I still need a little help. How do I make the command for load the data and the command to place the data into the table ? In fact, if it possible, could you please provide me the code for this purpose ?</description>
		<content:encoded><![CDATA[<p>Hi Doug</p>
<p>Thanks for replied. But I still need a little help. How do I make the command for load the data and the command to place the data into the table ? In fact, if it possible, could you please provide me the code for this purpose ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Doug</title>
		<link>http://blogs.mathworks.com/pick/2008/05/07/matlab-basics-adding-a-table-to-a-gui/#comment-13657</link>
		<dc:creator>Doug</dc:creator>
		<pubDate>Tue, 13 Jul 2010 13:42:57 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/pick/2008/05/07/matlab-basics-adding-a-table-to-a-gui/#comment-13657</guid>
		<description>@Ricardo,

It will take two commands, one to load it in, one to place it in the table.  Once put into a little function, it can seem like a single command though.

Doug</description>
		<content:encoded><![CDATA[<p>@Ricardo,</p>
<p>It will take two commands, one to load it in, one to place it in the table.  Once put into a little function, it can seem like a single command though.</p>
<p>Doug</p>
]]></content:encoded>
	</item>
</channel>
</rss>

