<?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: More on eval</title>
	<atom:link href="http://blogs.mathworks.com/loren/2006/01/04/more-in-eval/feed/" rel="self" type="application/rss+xml" />
	<link>http://blogs.mathworks.com/loren/2006/01/04/more-in-eval/</link>
	<description>Loren Shure works on design of the MATLAB language at MathWorks. She writes here about once a week on MATLAB programming and related topics.</description>
	<lastBuildDate>Thu, 09 Feb 2012 04:19:21 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Loren</title>
		<link>http://blogs.mathworks.com/loren/2006/01/04/more-in-eval/#comment-30578</link>
		<dc:creator>Loren</dc:creator>
		<pubDate>Thu, 10 Sep 2009 10:54:23 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/loren/?p=15#comment-30578</guid>
		<description>Hiroshi-

I recommend using dynamic field names with structures.  Here&#039;s an example:

&lt;pre class=&quot;code&quot;&gt;
label = &#039;loren&#039;
d.([label] str2int(4) = data{4};
%% now there&#039;s a struct with field &#039;loren4&#039;
&lt;/pre&gt;

--Loren</description>
		<content:encoded><![CDATA[<p>Hiroshi-</p>
<p>I recommend using dynamic field names with structures.  Here&#8217;s an example:</p>
<pre class="code">
label = 'loren'
d.([label] str2int(4) = data{4};
%% now there's a struct with field 'loren4'
</pre>
<p>&#8211;Loren</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Hiroshi Furutani</title>
		<link>http://blogs.mathworks.com/loren/2006/01/04/more-in-eval/#comment-30577</link>
		<dc:creator>Hiroshi Furutani</dc:creator>
		<pubDate>Thu, 10 Sep 2009 07:04:42 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/loren/?p=15#comment-30577</guid>
		<description>Hi Loren,
I understand why creating variable with dynamically-assigned name should be avoided. It will be very complex on Matlab. But I have to admit that variables with specific names are really useful to understand the content later and further data analysis. Just looking at the workspace, one can understand the content.

Is there any better and practical way to make both sides happy?</description>
		<content:encoded><![CDATA[<p>Hi Loren,<br />
I understand why creating variable with dynamically-assigned name should be avoided. It will be very complex on Matlab. But I have to admit that variables with specific names are really useful to understand the content later and further data analysis. Just looking at the workspace, one can understand the content.</p>
<p>Is there any better and practical way to make both sides happy?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

