<?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: File and Folder Comparison Tool Update in R2008a</title>
	<link>http://blogs.mathworks.com/desktop/2008/05/05/file-and-folder-comparison-tool-update-in-r2008a/</link>
	<description>Inside the MATLAB Desktop is written by the MATLAB Interface teams.&#60;br /&#62;&#60;br /&#62;&#60;a href="http://blogs.mathworks.com/images/desktop/authors/team_small.jpg"&#62;&#60;img src="http://blogs.mathworks.com/images/desktop/authors/team_tiny.jpg"&#62;&#60;/a&#62;</description>
	<pubDate>Fri, 29 Aug 2008 03:02:20 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.3.1</generator>
		<item>
		<title>By: Mike</title>
		<link>http://blogs.mathworks.com/desktop/2008/05/05/file-and-folder-comparison-tool-update-in-r2008a/#comment-5037</link>
		<dc:creator>Mike</dc:creator>
		<pubDate>Tue, 17 Jun 2008 12:52:24 +0000</pubDate>
		<guid>http://blogs.mathworks.com/desktop/2008/05/05/file-and-folder-comparison-tool-update-in-r2008a/#comment-5037</guid>
		<description>That's a great idea.</description>
		<content:encoded><![CDATA[<p>That&#8217;s a great idea.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anand</title>
		<link>http://blogs.mathworks.com/desktop/2008/05/05/file-and-folder-comparison-tool-update-in-r2008a/#comment-5024</link>
		<dc:creator>Anand</dc:creator>
		<pubDate>Mon, 16 Jun 2008 20:07:37 +0000</pubDate>
		<guid>http://blogs.mathworks.com/desktop/2008/05/05/file-and-folder-comparison-tool-update-in-r2008a/#comment-5024</guid>
		<description>Is there any tool (either matlab/third party) that compares two matlab models and give graphaic view of the diffrence? I am talking about model .mdl file</description>
		<content:encoded><![CDATA[<p>Is there any tool (either matlab/third party) that compares two matlab models and give graphaic view of the diffrence? I am talking about model .mdl file</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Malcolm Wood</title>
		<link>http://blogs.mathworks.com/desktop/2008/05/05/file-and-folder-comparison-tool-update-in-r2008a/#comment-4544</link>
		<dc:creator>Malcolm Wood</dc:creator>
		<pubDate>Tue, 13 May 2008 13:54:52 +0000</pubDate>
		<guid>http://blogs.mathworks.com/desktop/2008/05/05/file-and-folder-comparison-tool-update-in-r2008a/#comment-4544</guid>
		<description>Han,

The MAT-file differencing mechanism uses the MATLAB "==" operator, but for Simulink.Parameter objects this operator asks "are these the same object?", which is not the right question.  For example:

&#62;&#62; x1 = Simulink.Parameter
&#62;&#62; x2 = Simulink.Parameter
&#62;&#62; x1==x2

 ans = 

        0

For these objects, it turns out that the "isContentEqual" method is the right one to use:

&#62;&#62; isContentEqual(x1,x2)
 
 ans =
 
        1

But that's probably not true for other types of object.  Java programmers will be familiar with this sort of problem.  I'll look into whether there's a general solution to it here.

Malcolm</description>
		<content:encoded><![CDATA[<p>Han,</p>
<p>The MAT-file differencing mechanism uses the MATLAB &#8220;==&#8221; operator, but for Simulink.Parameter objects this operator asks &#8220;are these the same object?&#8221;, which is not the right question.  For example:</p>
<p>&gt;&gt; x1 = Simulink.Parameter<br />
&gt;&gt; x2 = Simulink.Parameter<br />
&gt;&gt; x1==x2</p>
<p> ans = </p>
<p>        0</p>
<p>For these objects, it turns out that the &#8220;isContentEqual&#8221; method is the right one to use:</p>
<p>&gt;&gt; isContentEqual(x1,x2)</p>
<p> ans =</p>
<p>        1</p>
<p>But that&#8217;s probably not true for other types of object.  Java programmers will be familiar with this sort of problem.  I&#8217;ll look into whether there&#8217;s a general solution to it here.</p>
<p>Malcolm</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Han Geerligs</title>
		<link>http://blogs.mathworks.com/desktop/2008/05/05/file-and-folder-comparison-tool-update-in-r2008a/#comment-4543</link>
		<dc:creator>Han Geerligs</dc:creator>
		<pubDate>Tue, 13 May 2008 13:32:13 +0000</pubDate>
		<guid>http://blogs.mathworks.com/desktop/2008/05/05/file-and-folder-comparison-tool-update-in-r2008a/#comment-4543</guid>
		<description>Hello Ken/Malcolm,

I found that when comparing files with itself (so binary identical) however differences are found.
The contents of that specific file are all Simulink.Parameter data objects. When using "ordinary" scalars of vectors the problem doesnt exist and the variables are marked as identical by the compare tool.

Are you aware of such an issue?

kind regards, Han</description>
		<content:encoded><![CDATA[<p>Hello Ken/Malcolm,</p>
<p>I found that when comparing files with itself (so binary identical) however differences are found.<br />
The contents of that specific file are all Simulink.Parameter data objects. When using &#8220;ordinary&#8221; scalars of vectors the problem doesnt exist and the variables are marked as identical by the compare tool.</p>
<p>Are you aware of such an issue?</p>
<p>kind regards, Han</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Georg Wiedermann</title>
		<link>http://blogs.mathworks.com/desktop/2008/05/05/file-and-folder-comparison-tool-update-in-r2008a/#comment-4492</link>
		<dc:creator>Georg Wiedermann</dc:creator>
		<pubDate>Fri, 09 May 2008 18:47:38 +0000</pubDate>
		<guid>http://blogs.mathworks.com/desktop/2008/05/05/file-and-folder-comparison-tool-update-in-r2008a/#comment-4492</guid>
		<description>Dear Malcolm,

are there any plans in the pipeline to provide the missing Simulink model comparison tool?

Best Regards

Georg</description>
		<content:encoded><![CDATA[<p>Dear Malcolm,</p>
<p>are there any plans in the pipeline to provide the missing Simulink model comparison tool?</p>
<p>Best Regards</p>
<p>Georg</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tim Davis</title>
		<link>http://blogs.mathworks.com/desktop/2008/05/05/file-and-folder-comparison-tool-update-in-r2008a/#comment-4464</link>
		<dc:creator>Tim Davis</dc:creator>
		<pubDate>Wed, 07 May 2008 16:44:54 +0000</pubDate>
		<guid>http://blogs.mathworks.com/desktop/2008/05/05/file-and-folder-comparison-tool-update-in-r2008a/#comment-4464</guid>
		<description>p.s. In case the reader missed the allusion ... "I came upon a source code dark" is an allusion to Dante's Inferno, the first 3 lines of which are:

&lt;pre&gt;
Midway upon the journey of our life
  I found myself within a forest dark,
  For the straightforward pathway had been lost.
&lt;/pre&gt;

Also ... a low rank update to the poem above.  The line

&lt;pre&gt;
with my edits just for a lark,
&lt;/pre&gt;

would sound better as:

&lt;pre&gt;
with edits made just for a lark,
&lt;/pre&gt;

Keep up the hard work! :-)</description>
		<content:encoded><![CDATA[<p>p.s. In case the reader missed the allusion &#8230; &#8220;I came upon a source code dark&#8221; is an allusion to Dante&#8217;s Inferno, the first 3 lines of which are:</p>
<pre>
Midway upon the journey of our life
  I found myself within a forest dark,
  For the straightforward pathway had been lost.
</pre>
<p>Also &#8230; a low rank update to the poem above.  The line</p>
<pre>
with my edits just for a lark,
</pre>
<p>would sound better as:</p>
<pre>
with edits made just for a lark,
</pre>
<p>Keep up the hard work! :-)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike</title>
		<link>http://blogs.mathworks.com/desktop/2008/05/05/file-and-folder-comparison-tool-update-in-r2008a/#comment-4460</link>
		<dc:creator>Mike</dc:creator>
		<pubDate>Wed, 07 May 2008 09:49:22 +0000</pubDate>
		<guid>http://blogs.mathworks.com/desktop/2008/05/05/file-and-folder-comparison-tool-update-in-r2008a/#comment-4460</guid>
		<description>Tim,

 The comparison is just a simple text diff. It would be neat if there was a syntax-aware mode. I'll pass that along to the developer. Thanks.</description>
		<content:encoded><![CDATA[<p>Tim,</p>
<p> The comparison is just a simple text diff. It would be neat if there was a syntax-aware mode. I&#8217;ll pass that along to the developer. Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tim Davis</title>
		<link>http://blogs.mathworks.com/desktop/2008/05/05/file-and-folder-comparison-tool-update-in-r2008a/#comment-4447</link>
		<dc:creator>Tim Davis</dc:creator>
		<pubDate>Tue, 06 May 2008 17:24:40 +0000</pubDate>
		<guid>http://blogs.mathworks.com/desktop/2008/05/05/file-and-folder-comparison-tool-update-in-r2008a/#comment-4447</guid>
		<description>Is there a way to ignore variations in white space?  Can comments be ignored?  That way, if I put a block of code inside an "if", and indent it properly, not all of the code will be flagged as different.  These would be useful options if you want to look at core code differences and ignore syntactical massaging.</description>
		<content:encoded><![CDATA[<p>Is there a way to ignore variations in white space?  Can comments be ignored?  That way, if I put a block of code inside an &#8220;if&#8221;, and indent it properly, not all of the code will be flagged as different.  These would be useful options if you want to look at core code differences and ignore syntactical massaging.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike</title>
		<link>http://blogs.mathworks.com/desktop/2008/05/05/file-and-folder-comparison-tool-update-in-r2008a/#comment-4444</link>
		<dc:creator>Mike</dc:creator>
		<pubDate>Tue, 06 May 2008 13:14:32 +0000</pubDate>
		<guid>http://blogs.mathworks.com/desktop/2008/05/05/file-and-folder-comparison-tool-update-in-r2008a/#comment-4444</guid>
		<description>Marcelo,

  Thank you for the feedback, we will take that under consideration.

Daniel,

  MATLAB does provide source control integration. Take a look at the documentation page for that: &lt;a href="http://www.mathworks.com/access/helpdesk/help/techdoc/index.html?/access/helpdesk/help/techdoc/matlab_env/f7-5297.html" rel="nofollow"&gt; Source Control Interface&lt;/a&gt;.

Tim,

creative poems
provide great feedback for us
we work hard for you</description>
		<content:encoded><![CDATA[<p>Marcelo,</p>
<p>  Thank you for the feedback, we will take that under consideration.</p>
<p>Daniel,</p>
<p>  MATLAB does provide source control integration. Take a look at the documentation page for that: <a href="http://www.mathworks.com/access/helpdesk/help/techdoc/index.html?/access/helpdesk/help/techdoc/matlab_env/f7-5297.html" rel="nofollow"> Source Control Interface</a>.</p>
<p>Tim,</p>
<p>creative poems<br />
provide great feedback for us<br />
we work hard for you</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tim Davis</title>
		<link>http://blogs.mathworks.com/desktop/2008/05/05/file-and-folder-comparison-tool-update-in-r2008a/#comment-4442</link>
		<dc:creator>Tim Davis</dc:creator>
		<pubDate>Tue, 06 May 2008 12:23:18 +0000</pubDate>
		<guid>http://blogs.mathworks.com/desktop/2008/05/05/file-and-folder-comparison-tool-update-in-r2008a/#comment-4442</guid>
		<description>Beautiful, just beautiful.  Worthy of a poetic thanks:

&lt;pre&gt;
I came upon a source code dark,
and wondered where I left my mark,
with my edits just for a lark,
   and forgot just where
I changed it; now my mind is stark,
   and mem'ry bare.

But then in MATLAB oh-8a
the file compare has saved the day
and giv'n reason now to say
   a heartfelt thanks;
It sheds a light and brilliant ray
   on code, I thinks!
&lt;/pre&gt;</description>
		<content:encoded><![CDATA[<p>Beautiful, just beautiful.  Worthy of a poetic thanks:</p>
<pre>
I came upon a source code dark,
and wondered where I left my mark,
with my edits just for a lark,
   and forgot just where
I changed it; now my mind is stark,
   and mem'ry bare.

But then in MATLAB oh-8a
the file compare has saved the day
and giv'n reason now to say
   a heartfelt thanks;
It sheds a light and brilliant ray
   on code, I thinks!
</pre>
]]></content:encoded>
	</item>
</channel>
</rss>
