<?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: Did you know that MATLAB has a diff tool?</title>
	<atom:link href="http://blogs.mathworks.com/desktop/2007/11/19/did-you-know-that-matlab-has-a-diff-tool/feed/" rel="self" type="application/rss+xml" />
	<link>http://blogs.mathworks.com/desktop/2007/11/19/did-you-know-that-matlab-has-a-diff-tool/</link>
	<description>Mike works on the MATLAB Desktop team</description>
	<lastBuildDate>Tue, 14 Feb 2012 21:36:46 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Nick</title>
		<link>http://blogs.mathworks.com/desktop/2007/11/19/did-you-know-that-matlab-has-a-diff-tool/#comment-7932</link>
		<dc:creator>Nick</dc:creator>
		<pubDate>Fri, 08 Jul 2011 17:23:41 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/desktop/2007/11/19/did-you-know-that-matlab-has-a-diff-tool/#comment-7932</guid>
		<description>This was really helpful. Thanks for posting this three years ago!</description>
		<content:encoded><![CDATA[<p>This was really helpful. Thanks for posting this three years ago!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: kiowa</title>
		<link>http://blogs.mathworks.com/desktop/2007/11/19/did-you-know-that-matlab-has-a-diff-tool/#comment-7362</link>
		<dc:creator>kiowa</dc:creator>
		<pubDate>Fri, 01 Oct 2010 14:44:25 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/desktop/2007/11/19/did-you-know-that-matlab-has-a-diff-tool/#comment-7362</guid>
		<description>Thank you so much; I had been looking for the diff of Matlab for quite some time!

Diego</description>
		<content:encoded><![CDATA[<p>Thank you so much; I had been looking for the diff of Matlab for quite some time!</p>
<p>Diego</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark Jones</title>
		<link>http://blogs.mathworks.com/desktop/2007/11/19/did-you-know-that-matlab-has-a-diff-tool/#comment-7317</link>
		<dc:creator>Mark Jones</dc:creator>
		<pubDate>Wed, 22 Sep 2010 01:53:05 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/desktop/2007/11/19/did-you-know-that-matlab-has-a-diff-tool/#comment-7317</guid>
		<description>Hi Gauri,

You are welcome.  I am happy to see that this article is still helpful nearly 3 years after I wrote it!

Mark</description>
		<content:encoded><![CDATA[<p>Hi Gauri,</p>
<p>You are welcome.  I am happy to see that this article is still helpful nearly 3 years after I wrote it!</p>
<p>Mark</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gauri</title>
		<link>http://blogs.mathworks.com/desktop/2007/11/19/did-you-know-that-matlab-has-a-diff-tool/#comment-7311</link>
		<dc:creator>Gauri</dc:creator>
		<pubDate>Wed, 15 Sep 2010 11:08:13 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/desktop/2007/11/19/did-you-know-that-matlab-has-a-diff-tool/#comment-7311</guid>
		<description>Thanks for the information. I am a beginner and this helped me great deal to figure out a stupid mistake of mine. Thanks a lot.</description>
		<content:encoded><![CDATA[<p>Thanks for the information. I am a beginner and this helped me great deal to figure out a stupid mistake of mine. Thanks a lot.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ken</title>
		<link>http://blogs.mathworks.com/desktop/2007/11/19/did-you-know-that-matlab-has-a-diff-tool/#comment-2465</link>
		<dc:creator>Ken</dc:creator>
		<pubDate>Fri, 04 Jan 2008 16:19:35 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/desktop/2007/11/19/did-you-know-that-matlab-has-a-diff-tool/#comment-2465</guid>
		<description>Great point Yair! There actually is an undocumented function &lt;tt&gt;visdiff&lt;/tt&gt; which will do part of what your asking for, namely comparing two files. It only takes file names as input right now.

I&#039;ve created an enhancement request to make this function more robust..

As always, note that this is an undocumented function, so it&#039;s availability and signature may change in the future.

-Ken</description>
		<content:encoded><![CDATA[<p>Great point Yair! There actually is an undocumented function <tt>visdiff</tt> which will do part of what your asking for, namely comparing two files. It only takes file names as input right now.</p>
<p>I&#8217;ve created an enhancement request to make this function more robust..</p>
<p>As always, note that this is an undocumented function, so it&#8217;s availability and signature may change in the future.</p>
<p>-Ken</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Yair Altman</title>
		<link>http://blogs.mathworks.com/desktop/2007/11/19/did-you-know-that-matlab-has-a-diff-tool/#comment-2428</link>
		<dc:creator>Yair Altman</dc:creator>
		<pubDate>Wed, 02 Jan 2008 22:11:49 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/desktop/2007/11/19/did-you-know-that-matlab-has-a-diff-tool/#comment-2428</guid>
		<description>Readers might be interested to know that the useful diff tool can be ran programatically, as described recently in http://www.mathworks.com/matlabcentral/newsreader/view_thread/161225

I hope it doesn&#039;t break in future versions (it very well might since it uses unsupported functionality), but in the meantime it saves the need to interactively specify the input files. If possible, I would love Matlab to have a supported function that does this (and similar functions for all interactive functionality).

-Yair</description>
		<content:encoded><![CDATA[<p>Readers might be interested to know that the useful diff tool can be ran programatically, as described recently in <a href="http://www.mathworks.com/matlabcentral/newsreader/view_thread/161225" rel="nofollow">http://www.mathworks.com/matlabcentral/newsreader/view_thread/161225</a></p>
<p>I hope it doesn&#8217;t break in future versions (it very well might since it uses unsupported functionality), but in the meantime it saves the need to interactively specify the input files. If possible, I would love Matlab to have a supported function that does this (and similar functions for all interactive functionality).</p>
<p>-Yair</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: kena</title>
		<link>http://blogs.mathworks.com/desktop/2007/11/19/did-you-know-that-matlab-has-a-diff-tool/#comment-1534</link>
		<dc:creator>kena</dc:creator>
		<pubDate>Tue, 20 Nov 2007 18:04:50 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/desktop/2007/11/19/did-you-know-that-matlab-has-a-diff-tool/#comment-1534</guid>
		<description>Tim,

Thanks for the feedback.  The ability to compare entire directories is something you&#039;ll likely see in some future release.

We&#039;ll take a look at ways to better handle large runs of identical content.

KEN</description>
		<content:encoded><![CDATA[<p>Tim,</p>
<p>Thanks for the feedback.  The ability to compare entire directories is something you&#8217;ll likely see in some future release.</p>
<p>We&#8217;ll take a look at ways to better handle large runs of identical content.</p>
<p>KEN</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tim Davis</title>
		<link>http://blogs.mathworks.com/desktop/2007/11/19/did-you-know-that-matlab-has-a-diff-tool/#comment-1528</link>
		<dc:creator>Tim Davis</dc:creator>
		<pubDate>Tue, 20 Nov 2007 12:57:54 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/desktop/2007/11/19/did-you-know-that-matlab-has-a-diff-tool/#comment-1528</guid>
		<description>This color diff in MATLAB is a really useful for comparing two individual files.  I like the ability to click on a line that differs and be taken right to the editor with that line highlighted.  Thanks!

Unix / Linux has a wonderful option to diff that I use a lot: &quot;diff -r&quot;, which recursively compares two directories.  It&#039;s a very useful for looking at two versions of a project with hundreds of files.  MATLAB users could really benefit from it, too, I think.

Consider this usage scenario:  a user selects two directories (instead of two files) and then selects the menu item which now is worded &quot;Compare Selected Directories&quot;.  Then a file-by-file diff appears, comparing each file that matches between the two directories (and subdirectories), or &quot;Only in ...&quot; for files that appear in only one directory or another.  You would normally skip binary files - just do *.m, *.c, and so forth (perhaps selecting filetypes with another option).

While viewing a single file-diff, it would be nice to have an option of not displaying the greyed out text (lines that are identical between the two files), or to just display a few grey lines for context.</description>
		<content:encoded><![CDATA[<p>This color diff in MATLAB is a really useful for comparing two individual files.  I like the ability to click on a line that differs and be taken right to the editor with that line highlighted.  Thanks!</p>
<p>Unix / Linux has a wonderful option to diff that I use a lot: &#8220;diff -r&#8221;, which recursively compares two directories.  It&#8217;s a very useful for looking at two versions of a project with hundreds of files.  MATLAB users could really benefit from it, too, I think.</p>
<p>Consider this usage scenario:  a user selects two directories (instead of two files) and then selects the menu item which now is worded &#8220;Compare Selected Directories&#8221;.  Then a file-by-file diff appears, comparing each file that matches between the two directories (and subdirectories), or &#8220;Only in &#8230;&#8221; for files that appear in only one directory or another.  You would normally skip binary files &#8211; just do *.m, *.c, and so forth (perhaps selecting filetypes with another option).</p>
<p>While viewing a single file-diff, it would be nice to have an option of not displaying the greyed out text (lines that are identical between the two files), or to just display a few grey lines for context.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

