<?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: Sharing Your M-Lint Settings</title>
	<link>http://blogs.mathworks.com/desktop/2008/03/03/sharing-your-m-lint-settings/</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 02:58:10 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.3.1</generator>
		<item>
		<title>By: Ken</title>
		<link>http://blogs.mathworks.com/desktop/2008/03/03/sharing-your-m-lint-settings/#comment-3477</link>
		<dc:creator>Ken</dc:creator>
		<pubDate>Mon, 03 Mar 2008 18:49:40 +0000</pubDate>
		<guid>http://blogs.mathworks.com/desktop/2008/03/03/sharing-your-m-lint-settings/#comment-3477</guid>
		<description>Thanks Quan. Collaboration is an oft overlooked portion of the work-flow.</description>
		<content:encoded><![CDATA[<p>Thanks Quan. Collaboration is an oft overlooked portion of the work-flow.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Quan</title>
		<link>http://blogs.mathworks.com/desktop/2008/03/03/sharing-your-m-lint-settings/#comment-3472</link>
		<dc:creator>Quan</dc:creator>
		<pubDate>Mon, 03 Mar 2008 16:45:48 +0000</pubDate>
		<guid>http://blogs.mathworks.com/desktop/2008/03/03/sharing-your-m-lint-settings/#comment-3472</guid>
		<description>Great Post Ken.  Writing code amongst many group members can cause many headaches from clashing styles and structure.</description>
		<content:encoded><![CDATA[<p>Great Post Ken.  Writing code amongst many group members can cause many headaches from clashing styles and structure.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ken</title>
		<link>http://blogs.mathworks.com/desktop/2008/03/03/sharing-your-m-lint-settings/#comment-3471</link>
		<dc:creator>Ken</dc:creator>
		<pubDate>Mon, 03 Mar 2008 14:40:37 +0000</pubDate>
		<guid>http://blogs.mathworks.com/desktop/2008/03/03/sharing-your-m-lint-settings/#comment-3471</guid>
		<description>Hi Tim,

Thats a great point - older M files were not written with the guiding hand of M-Lint. As an alternative to your suggestion, I'd recommend creating a second set of M-Lint settings and then switch to those settings when you open an older file. 

This certainly isn't as convenient and user-friendly as your method, but it would work in the interim.

Thanks for the feedback Tim,
-Ken</description>
		<content:encoded><![CDATA[<p>Hi Tim,</p>
<p>Thats a great point - older M files were not written with the guiding hand of M-Lint. As an alternative to your suggestion, I&#8217;d recommend creating a second set of M-Lint settings and then switch to those settings when you open an older file. </p>
<p>This certainly isn&#8217;t as convenient and user-friendly as your method, but it would work in the interim.</p>
<p>Thanks for the feedback Tim,<br />
-Ken</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tim Davis</title>
		<link>http://blogs.mathworks.com/desktop/2008/03/03/sharing-your-m-lint-settings/#comment-3469</link>
		<dc:creator>Tim Davis</dc:creator>
		<pubDate>Mon, 03 Mar 2008 14:28:11 +0000</pubDate>
		<guid>http://blogs.mathworks.com/desktop/2008/03/03/sharing-your-m-lint-settings/#comment-3469</guid>
		<description>I've noticed that M-lint can be harsh on M-files written for older versions of MATLAB.  For example, take a look at Cleve Moler's NCM toolbox, or Nick Higham's matrix computation toolbox.  There are lots of warnings such as "use two ampersands instead of one" in logical statements.  These are both well-written codes, however.

Here is a suggestion.  What if an m-file could have a special help line that M-link recognizes (like "See also", "Copyright" etc).  It could look like

% Written for MATLAB Version 6.5

or something, which would tell M-lint not to complain about features used in MATLAB v6.5 that are no longer deemed acceptable.

I write code that's meant to back-port to old versions of MATLAB, so I have to use lots of #%ok's to tell m-lint to keep quiet ...</description>
		<content:encoded><![CDATA[<p>I&#8217;ve noticed that M-lint can be harsh on M-files written for older versions of MATLAB.  For example, take a look at Cleve Moler&#8217;s NCM toolbox, or Nick Higham&#8217;s matrix computation toolbox.  There are lots of warnings such as &#8220;use two ampersands instead of one&#8221; in logical statements.  These are both well-written codes, however.</p>
<p>Here is a suggestion.  What if an m-file could have a special help line that M-link recognizes (like &#8220;See also&#8221;, &#8220;Copyright&#8221; etc).  It could look like</p>
<p>% Written for MATLAB Version 6.5</p>
<p>or something, which would tell M-lint not to complain about features used in MATLAB v6.5 that are no longer deemed acceptable.</p>
<p>I write code that&#8217;s meant to back-port to old versions of MATLAB, so I have to use lots of #%ok&#8217;s to tell m-lint to keep quiet &#8230;</p>
]]></content:encoded>
	</item>
</channel>
</rss>
